Fabian Stemmler [Sun, 14 Jul 2019 16:08:35 +0000 (18:08 +0200)]
Added option to switch off snapping in the Editor
Also moved all UI related classes into their own package
Fabian Stemmler [Sat, 13 Jul 2019 10:33:03 +0000 (12:33 +0200)]
Merge branch 'development' of
https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019.git into
development
Conflicts:
net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/wires/GUIWire.java
net.mograsim.logic.ui/src/net/mograsim/logic/ui/serializing/DeserializedSubmodelComponent.java
net.mograsim.logic.ui/src/net/mograsim/logic/ui/serializing/IndirectGUIComponentCreator.java
Fabian Stemmler [Fri, 12 Jul 2019 16:38:16 +0000 (18:38 +0200)]
Added DeserializedSubmodelComponent Editor project
Fabian Stemmler [Fri, 12 Jul 2019 16:32:02 +0000 (18:32 +0200)]
Added methods to modify a Wires path and a PathChangedListener
Fabian Stemmler [Fri, 12 Jul 2019 16:30:53 +0000 (18:30 +0200)]
A Set of GUIComponent standard IDs is now accessible publicly
Fabian Stemmler [Fri, 12 Jul 2019 16:29:49 +0000 (18:29 +0200)]
Allowed more public modifications of DeserializedSubmodelComponents
Christian Femers [Thu, 11 Jul 2019 20:00:11 +0000 (22:00 +0200)]
Removed ...core.model package from manifest
Christian Femers [Thu, 11 Jul 2019 19:59:27 +0000 (21:59 +0200)]
Classes will move and be reworked in the net.mograsim.machine plugin
Christian Femers [Thu, 11 Jul 2019 19:57:21 +0000 (21:57 +0200)]
Fixed package naming
Christian Femers [Thu, 11 Jul 2019 19:56:11 +0000 (21:56 +0200)]
Adopted tests to new BitVector and improved labeling
Christian Femers [Thu, 11 Jul 2019 19:51:38 +0000 (21:51 +0200)]
Refactored BitVector methods to resolve ambiguity
Daniel Kirschten [Wed, 10 Jul 2019 10:46:25 +0000 (12:46 +0200)]
Renamed logic.ui to logic.model
Daniel Kirschten [Wed, 10 Jul 2019 10:35:21 +0000 (12:35 +0200)]
Updated to new SWTHelper version
Daniel Kirschten [Mon, 8 Jul 2019 11:20:09 +0000 (13:20 +0200)]
Fixed package exports in net.mograsim.logic.ui's MANIFEST.MF
Daniel Kirschten [Mon, 8 Jul 2019 11:16:49 +0000 (13:16 +0200)]
GUIComponents now have names
Daniel Kirschten [Mon, 8 Jul 2019 10:52:43 +0000 (12:52 +0200)]
Small fix in ClickableSubmodelComponentsTest
Daniel Kirschten [Mon, 8 Jul 2019 08:48:30 +0000 (10:48 +0200)]
CodeSnippetSupplier now supports high level state handlers
Daniel Kirschten [Mon, 8 Jul 2019 08:44:09 +0000 (10:44 +0200)]
Replaced "provider" in identifiers with "supplier"
Daniel Kirschten [Fri, 5 Jul 2019 14:20:22 +0000 (16:20 +0200)]
CodeSnippetSupplier doesn't complain anymore if 'id == null'
Daniel Kirschten [Fri, 5 Jul 2019 14:16:01 +0000 (16:16 +0200)]
Switched mostly to using deserialized component versions
Didn't switch where high level states are needed
Daniel Kirschten [Fri, 5 Jul 2019 14:03:47 +0000 (16:03 +0200)]
Removed ConnectionPoint causing confusion
Fabian Stemmler [Fri, 5 Jul 2019 13:04:12 +0000 (15:04 +0200)]
Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019.git into development
Fabian Stemmler [Fri, 5 Jul 2019 13:03:28 +0000 (15:03 +0200)]
Added a GUIComponent resize listener
Daniel Kirschten [Thu, 4 Jul 2019 14:12:43 +0000 (16:12 +0200)]
Made Renderers usable without JSON
Daniel Kirschten [Thu, 4 Jul 2019 08:50:11 +0000 (10:50 +0200)]
Made CodeSnippetSupplier generic
Daniel Kirschten [Thu, 4 Jul 2019 08:31:00 +0000 (10:31 +0200)]
Updated MANIFEST.MF
Daniel Kirschten [Thu, 4 Jul 2019 08:30:35 +0000 (10:30 +0200)]
Moved code serializing a symbol renderer to where it belongs
Daniel Kirschten [Thu, 4 Jul 2019 08:24:44 +0000 (10:24 +0200)]
Added two SymbolRendererProviders
Daniel Kirschten [Wed, 3 Jul 2019 21:30:04 +0000 (23:30 +0200)]
Organized imports + cleaned MANIFEST.MF
Daniel Kirschten [Wed, 3 Jul 2019 21:29:19 +0000 (23:29 +0200)]
Fixed net.mograsim.plugin.core
Daniel Kirschten [Wed, 3 Jul 2019 21:25:47 +0000 (23:25 +0200)]
Made classes in package "nandbased" usable for JSON
Daniel Kirschten [Wed, 3 Jul 2019 21:25:03 +0000 (23:25 +0200)]
Switched SubmodelComponentTestbench to use JSON-based Am2901
Daniel Kirschten [Wed, 3 Jul 2019 21:17:37 +0000 (23:17 +0200)]
Fixed & renamed CodeSnippetSupplier.tryInvokeStaticInitializer
Daniel Kirschten [Wed, 3 Jul 2019 21:16:19 +0000 (23:16 +0200)]
Fixed standardComponentIDMapping
Daniel Kirschten [Wed, 3 Jul 2019 21:16:05 +0000 (23:16 +0200)]
Rebuilt component JSON files
Daniel Kirschten [Wed, 3 Jul 2019 21:02:36 +0000 (23:02 +0200)]
Updated version; added string-based methods in JsonHandler
Daniel Kirschten [Wed, 3 Jul 2019 20:43:03 +0000 (22:43 +0200)]
GUIComponents now serialize and deserialize parameters (where needed)
Daniel Kirschten [Wed, 3 Jul 2019 20:20:37 +0000 (22:20 +0200)]
Updated MANIFEST.MF
Daniel Kirschten [Wed, 3 Jul 2019 20:19:16 +0000 (22:19 +0200)]
Restructured serializing / deserializing
Daniel Kirschten [Wed, 3 Jul 2019 08:39:25 +0000 (10:39 +0200)]
Removed old ColorHelper class
Daniel Kirschten [Tue, 2 Jul 2019 21:01:03 +0000 (23:01 +0200)]
Restructured serializing classes
Daniel Kirschten [Sun, 30 Jun 2019 16:39:00 +0000 (18:39 +0200)]
Added MSB first versions of parse() and toString()
Daniel Kirschten [Sun, 30 Jun 2019 16:28:53 +0000 (18:28 +0200)]
Made Am2901 tests work again
Daniel Kirschten [Sun, 30 Jun 2019 16:14:24 +0000 (18:14 +0200)]
TextComponent no longer overrides getBounds but rather calls setSize()
Daniel Kirschten [Sun, 30 Jun 2019 15:45:29 +0000 (17:45 +0200)]
Fixed TextComponent having two different positions:
getPosX/Y() reported a different position than getBounds().x/y, which
could cause problems
Daniel Kirschten [Sun, 30 Jun 2019 15:44:21 +0000 (17:44 +0200)]
Replaced static factory method with constructor
Daniel Kirschten [Sun, 30 Jun 2019 14:33:41 +0000 (16:33 +0200)]
Fixed GUIram4 high level state access
Daniel Kirschten [Sun, 30 Jun 2019 13:17:25 +0000 (15:17 +0200)]
More helpful error message if no component is selected in LogicUICanvas
Daniel Kirschten [Sun, 30 Jun 2019 13:13:31 +0000 (15:13 +0200)]
Restructured high level state access
Daniel Kirschten [Sun, 30 Jun 2019 13:12:36 +0000 (15:12 +0200)]
Moved sanity check to make more sense
Daniel Kirschten [Sun, 30 Jun 2019 12:54:40 +0000 (14:54 +0200)]
Corrected incorrect correction of bit order
Christian Femers [Sat, 29 Jun 2019 01:36:40 +0000 (03:36 +0200)]
Removed System.out's
Christian Femers [Sat, 29 Jun 2019 01:35:09 +0000 (03:35 +0200)]
Changed high level addressing to have the correct bit and reg. order
Christian Femers [Sat, 29 Jun 2019 01:30:32 +0000 (03:30 +0200)]
Fixed and added a lot of tests
Christian Femers [Sat, 29 Jun 2019 01:29:46 +0000 (03:29 +0200)]
Improved package structure
Christian Femers [Sat, 29 Jun 2019 01:29:05 +0000 (03:29 +0200)]
Added getBounds() to TextComponent
Christian Femers [Sat, 29 Jun 2019 01:28:14 +0000 (03:28 +0200)]
Fixed ManualSwitch concerning U and added Bit methods
Christian Femers [Fri, 28 Jun 2019 17:26:19 +0000 (19:26 +0200)]
Added an visual-only text component and modelling helper class
Christian Femers [Fri, 28 Jun 2019 17:24:47 +0000 (19:24 +0200)]
Made LogicUIStandalone implement Runnable because why not.
Christian Femers [Fri, 28 Jun 2019 17:22:57 +0000 (19:22 +0200)]
Common ConnectionPoint interface to simplify many things
Simplifies the GUIWire's constructors and allows to loop to create wire
connections.
Daniel Kirschten [Wed, 26 Jun 2019 21:10:56 +0000 (23:10 +0200)]
Slight improvements in documentation.
Daniel Kirschten [Wed, 26 Jun 2019 21:02:59 +0000 (23:02 +0200)]
Implemented set/getHighLevelState for most components
Daniel Kirschten [Wed, 26 Jun 2019 20:29:20 +0000 (22:29 +0200)]
Constructor of BitVector now is fail-fast for bits being null
Daniel Kirschten [Wed, 26 Jun 2019 19:53:44 +0000 (21:53 +0200)]
Added debug shell for setHighLevelState; improved ViewModel comments
Daniel Kirschten [Wed, 26 Jun 2019 19:19:17 +0000 (21:19 +0200)]
Merge remote-tracking branch 'origin/development' into development
Fabian Stemmler [Wed, 26 Jun 2019 19:11:21 +0000 (21:11 +0200)]
mapping.json is now loaded by the class loader
Daniel Kirschten [Wed, 26 Jun 2019 17:19:39 +0000 (19:19 +0200)]
Implemented GUI_rsLatch#setHighLevelState
Daniel Kirschten [Wed, 26 Jun 2019 17:19:32 +0000 (19:19 +0200)]
Implemented GUIManualSwitch#setHighLevelState
Daniel Kirschten [Wed, 26 Jun 2019 17:16:31 +0000 (19:16 +0200)]
Implemented things needed for setHighLevelState
Fabian Stemmler [Wed, 26 Jun 2019 13:51:57 +0000 (15:51 +0200)]
Added forceValues(...) method to Wire
Daniel Kirschten [Wed, 26 Jun 2019 10:50:41 +0000 (12:50 +0200)]
Commented MovablePin
Daniel Kirschten [Wed, 26 Jun 2019 10:49:16 +0000 (12:49 +0200)]
Commented WireCrossPoint
Daniel Kirschten [Wed, 26 Jun 2019 10:16:54 +0000 (12:16 +0200)]
Commented Pin
Daniel Kirschten [Tue, 25 Jun 2019 12:57:57 +0000 (14:57 +0200)]
Included net.mograsim.preferences into net.mograsim.plugin.feature
Daniel Kirschten [Tue, 25 Jun 2019 09:47:16 +0000 (11:47 +0200)]
The user no longer has to click on "Apply" to see changes in the preview
Daniel Kirschten [Tue, 25 Jun 2019 09:37:51 +0000 (11:37 +0200)]
Simulation preview no longer can be moved / zoomed; removed old code
Daniel Kirschten [Tue, 25 Jun 2019 09:33:12 +0000 (11:33 +0200)]
More colors managed by Preferences
Daniel Kirschten [Tue, 25 Jun 2019 09:23:43 +0000 (11:23 +0200)]
Removed visitor pattern used for one test only
Daniel Kirschten [Tue, 25 Jun 2019 08:49:19 +0000 (10:49 +0200)]
executeWithDifferentColor no longer crashes if col==null
Daniel Kirschten [Tue, 25 Jun 2019 08:45:53 +0000 (10:45 +0200)]
Now using preference system in plugin.core
Daniel Kirschten [Tue, 25 Jun 2019 08:45:39 +0000 (10:45 +0200)]
Changes in the preference system
Daniel Kirschten [Tue, 25 Jun 2019 08:03:50 +0000 (10:03 +0200)]
Created net.mograsim.preferences
Daniel Kirschten [Tue, 25 Jun 2019 07:27:42 +0000 (09:27 +0200)]
Cleaned project references and MANIFEST.mf Bundle-Vendor entries
Fabian Stemmler [Mon, 24 Jun 2019 15:46:14 +0000 (17:46 +0200)]
Reorganized location of .json components
Fabian Stemmler [Mon, 24 Jun 2019 14:25:25 +0000 (16:25 +0200)]
Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019.git into development
Fabian Stemmler [Mon, 24 Jun 2019 14:22:20 +0000 (16:22 +0200)]
Equivalent inner components now exchangeable. Fixed in/output pin order.
1. Previously, the creation of the inner components of a custom
component was fixated in the file, even though the same inner component
could either be described by a class, or a file. mapping.json now
dictates, which one to use.
2. Added the .json versions of all currently available
SubmodelComponents
3. Since pins are no longer addressed by index, but rather by name,
rectangular custom components were created with a more or less random
pin order, were inputs and outputs were mixed. This issue was fixed.
Daniel Kirschten [Sun, 23 Jun 2019 22:35:16 +0000 (00:35 +0200)]
Cleaned up:
-Empty but required folders now are being tracked via .gitkeep files
-Cleaned build.properties files
-Moved test source build output folders to bin/test
-Removed duplicate ClickableSubmodelComponentsTest
-Removed source folders from .classpath in projects that don't need /
have source folders
Christian Femers [Sun, 23 Jun 2019 18:37:16 +0000 (20:37 +0200)]
Added logo
Christian Femers [Sun, 23 Jun 2019 17:38:05 +0000 (19:38 +0200)]
Copyright notice added
Christian Femers [Sun, 23 Jun 2019 17:35:27 +0000 (19:35 +0200)]
Update LICENSE to EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
Christian Femers [Sun, 23 Jun 2019 17:29:10 +0000 (19:29 +0200)]
Completely changed the structure and switched to Eclipse Plugin.
Daniel Kirschten [Sat, 22 Jun 2019 13:16:04 +0000 (15:16 +0200)]
Commented GUIWire
Daniel Kirschten [Sat, 22 Jun 2019 13:07:57 +0000 (15:07 +0200)]
Corrected documentation of wireCreated() and wireDestroyed()
Daniel Kirschten [Sat, 22 Jun 2019 12:40:25 +0000 (14:40 +0200)]
ViewLogicModelAdapter no longer forces all GUIComponents to be loaded
Daniel Kirschten [Sat, 22 Jun 2019 08:58:33 +0000 (10:58 +0200)]
Commented SubmodelComponent
Daniel Kirschten [Sat, 22 Jun 2019 08:56:46 +0000 (10:56 +0200)]
Changed SubmodelComponent.addSubmodelInterface() interface
Daniel Kirschten [Sat, 22 Jun 2019 08:43:15 +0000 (10:43 +0200)]
Changed interface of GUIComponent.getPins()
Daniel Kirschten [Sat, 22 Jun 2019 08:34:04 +0000 (10:34 +0200)]
Improved comments of GUIComponent
Daniel Kirschten [Sat, 22 Jun 2019 08:31:11 +0000 (10:31 +0200)]
Added a check in addPin()
Daniel Kirschten [Sat, 22 Jun 2019 08:15:05 +0000 (10:15 +0200)]
Commented GUIComponent