Daniel Kirschten [Wed, 5 Jun 2019 12:33:16 +0000 (14:33 +0200)]
Renamed drawComponent to renderComponent
Daniel Kirschten [Wed, 5 Jun 2019 12:22:16 +0000 (14:22 +0200)]
Implemented GUIhalfadder
Daniel Kirschten [Wed, 5 Jun 2019 12:22:05 +0000 (14:22 +0200)]
SubmodelComponent now reports rounded coordinates, too
Daniel Kirschten [Wed, 5 Jun 2019 11:41:04 +0000 (13:41 +0200)]
Added convenience constructors in GUIWire
These take a WireCrossPoint instead of a Pin as pin1/pin2.
Daniel Kirschten [Wed, 5 Jun 2019 11:32:16 +0000 (13:32 +0200)]
Implemented GUIdlatch4
Daniel Kirschten [Wed, 5 Jun 2019 11:15:14 +0000 (13:15 +0200)]
Implemented GUIdlatch
Daniel Kirschten [Wed, 5 Jun 2019 11:14:53 +0000 (13:14 +0200)]
SubmodelComponent now prints click coordinates
Daniel Kirschten [Wed, 5 Jun 2019 10:47:13 +0000 (12:47 +0200)]
ViewLogicModelAdapter now uses NandGate for GUINandGate
Daniel Kirschten [Wed, 5 Jun 2019 10:46:31 +0000 (12:46 +0200)]
Made submodel rendering faster
Daniel Kirschten [Wed, 5 Jun 2019 10:26:53 +0000 (12:26 +0200)]
Implemented GUIdff
Daniel Kirschten [Wed, 5 Jun 2019 10:26:33 +0000 (12:26 +0200)]
Updated to new SWTHelper version
Fabian Stemmler [Wed, 5 Jun 2019 05:26:31 +0000 (07:26 +0200)]
Fixed nand and nor gate to work with more than two inputs
Fabian Stemmler [Tue, 4 Jun 2019 20:21:01 +0000 (22:21 +0200)]
Added nand and nor gate due to popular demand
Daniel Kirschten [Tue, 4 Jun 2019 16:06:34 +0000 (18:06 +0200)]
Updated to new SWTHelper version
Daniel Kirschten [Tue, 4 Jun 2019 13:32:13 +0000 (15:32 +0200)]
Added gate/wire delay in SubmodelComponentTestbench
Daniel Kirschten [Tue, 4 Jun 2019 13:31:35 +0000 (15:31 +0200)]
Implemented GUInand3
Daniel Kirschten [Tue, 4 Jun 2019 13:09:19 +0000 (15:09 +0200)]
Implemented GUIdemux2
Daniel Kirschten [Tue, 4 Jun 2019 09:51:59 +0000 (11:51 +0200)]
Made GUIand41 prettier
Daniel Kirschten [Tue, 4 Jun 2019 09:42:07 +0000 (11:42 +0200)]
Implemented GUIandor414
Daniel Kirschten [Tue, 4 Jun 2019 09:16:39 +0000 (11:16 +0200)]
Implemented GUIor_4
Daniel Kirschten [Tue, 4 Jun 2019 09:08:34 +0000 (11:08 +0200)]
Made submodel alpha transition shorter
Daniel Kirschten [Tue, 4 Jun 2019 08:27:54 +0000 (10:27 +0200)]
Changed formatting of initSubmodelComponents
Daniel Kirschten [Tue, 4 Jun 2019 06:15:00 +0000 (08:15 +0200)]
Implemented GUIand41
Daniel Kirschten [Tue, 4 Jun 2019 06:11:22 +0000 (08:11 +0200)]
Renamed ModularAm2901Example to SubmodelComponentTestbench
Daniel Kirschten [Tue, 4 Jun 2019 06:00:50 +0000 (08:00 +0200)]
Added getter for submodel interface pins in GUIand and GUI_rsLatch
Daniel Kirschten [Tue, 4 Jun 2019 05:53:35 +0000 (07:53 +0200)]
Updated to newer SWTHelper version fixing a problem in GCConfig
Daniel Kirschten [Tue, 4 Jun 2019 05:20:49 +0000 (07:20 +0200)]
Implemented GUIand
Daniel Kirschten [Tue, 4 Jun 2019 05:05:40 +0000 (07:05 +0200)]
Made comments about @SuppressWarnings uniform
Christian Femers [Tue, 4 Jun 2019 01:52:04 +0000 (03:52 +0200)]
Eclipse e4 and translation experiments
Daniel Kirschten [Mon, 3 Jun 2019 21:52:51 +0000 (23:52 +0200)]
Implemented GUI_rsLatch
Daniel Kirschten [Mon, 3 Jun 2019 21:35:49 +0000 (23:35 +0200)]
Improved SubmodelComponent rendering: Font for labels is now fixed
Daniel Kirschten [Mon, 3 Jun 2019 21:28:02 +0000 (23:28 +0200)]
Created GUINandGate
Daniel Kirschten [Mon, 3 Jun 2019 21:23:32 +0000 (23:23 +0200)]
Cleaned up ComponentAdapter interface
Daniel Kirschten [Mon, 3 Jun 2019 21:14:36 +0000 (23:14 +0200)]
Renamed Am2901NANDBased to AtomicAm2901NANDBased
Daniel Kirschten [Mon, 3 Jun 2019 21:03:19 +0000 (23:03 +0200)]
Removed old code
Daniel Kirschten [Mon, 3 Jun 2019 20:41:38 +0000 (22:41 +0200)]
SubmodelComponents now have a label shown when zoomed out
Daniel Kirschten [Mon, 3 Jun 2019 20:35:53 +0000 (22:35 +0200)]
Improved submodule rendering
Daniel Kirschten [Mon, 3 Jun 2019 20:14:55 +0000 (22:14 +0200)]
Fixed stupid bug causing submodules not to work
Daniel Kirschten [Mon, 3 Jun 2019 20:12:44 +0000 (22:12 +0200)]
Organized imports in all three projects
Daniel Kirschten [Mon, 3 Jun 2019 20:11:58 +0000 (22:11 +0200)]
Updated LogicUIPart to ViewModelModifiable change
Daniel Kirschten [Mon, 3 Jun 2019 20:11:22 +0000 (22:11 +0200)]
Added SubmodelComponent
Daniel Kirschten [Mon, 3 Jun 2019 20:11:12 +0000 (22:11 +0200)]
Cleanups in bounding box rendering
Daniel Kirschten [Mon, 3 Jun 2019 20:10:37 +0000 (22:10 +0200)]
Splitted ViewModel and ViewModelModifiable
Daniel Kirschten [Mon, 3 Jun 2019 13:28:27 +0000 (15:28 +0200)]
Improved rendering:
-Splitted LogicUICanvas and LogicUIRenderer
-The ViewModel hierarchy supports redraw listeners
Daniel Kirschten [Mon, 3 Jun 2019 12:15:36 +0000 (14:15 +0200)]
Implemented hardcoded functional NAND-based Am2901
Daniel Kirschten [Mon, 3 Jun 2019 12:15:15 +0000 (14:15 +0200)]
Implemented GUIBitDisplay
Daniel Kirschten [Mon, 3 Jun 2019 12:13:25 +0000 (14:13 +0200)]
SimpleLogicUIStandalone now supports custom LogicModelParameters
Daniel Kirschten [Mon, 3 Jun 2019 12:12:35 +0000 (14:12 +0200)]
Wires now can have a name
Daniel Kirschten [Sun, 2 Jun 2019 20:01:40 +0000 (22:01 +0200)]
Improved GUIManualSwitch
Daniel Kirschten [Sun, 2 Jun 2019 19:53:12 +0000 (21:53 +0200)]
Made Timeline.timeCmp public again
Fabian Stemmler [Sun, 2 Jun 2019 13:44:42 +0000 (15:44 +0200)]
BitDisplay, ManualSwitch now Observable. More Docs added in Timeline.
Fabian Stemmler [Sun, 2 Jun 2019 10:01:56 +0000 (12:01 +0200)]
Cleanup; Cleared warnings in the logic core
Fabian Stemmler [Sun, 2 Jun 2019 09:33:57 +0000 (11:33 +0200)]
Generalized WireObserver to LogicObserver
Daniel Kirschten [Thu, 30 May 2019 04:34:12 +0000 (06:34 +0200)]
Renamed project folders to match the respective project name
Daniel Kirschten [Thu, 30 May 2019 04:24:38 +0000 (06:24 +0200)]
Renamed mograsim to net.mograsim
Daniel Kirschten [Wed, 29 May 2019 20:59:35 +0000 (22:59 +0200)]
Renamed project to MoGraSim
Daniel Kirschten [Wed, 29 May 2019 20:40:39 +0000 (22:40 +0200)]
Suppressed warnings where the thing warned about is intentional
Daniel Kirschten [Wed, 29 May 2019 20:38:37 +0000 (22:38 +0200)]
Improved waiting for isRunning state
Daniel Kirschten [Wed, 29 May 2019 20:32:23 +0000 (22:32 +0200)]
Removed old classes RSLatchExample and GUIManualSwitch
Christian Femers [Wed, 29 May 2019 20:24:30 +0000 (22:24 +0200)]
Project specific error/warning settings
Daniel Kirschten [Wed, 29 May 2019 19:57:35 +0000 (21:57 +0200)]
LogicUI works embedded in SampleERCP again
Daniel Kirschten [Wed, 29 May 2019 19:49:54 +0000 (21:49 +0200)]
Class hierarchy cleanup:
-Splitted LogicUIStandalone into LogicUIStandaloneGUI and LogicExecuter
-Created SimpleLogicUIStandalone
-Renamed Playground to RSLatchExample
-Removed old example
Daniel Kirschten [Wed, 29 May 2019 19:47:49 +0000 (21:47 +0200)]
Made timeCmp public
Daniel Kirschten [Wed, 29 May 2019 19:14:08 +0000 (21:14 +0200)]
Merge remote-tracking branch 'origin/development' into development
Daniel Kirschten [Wed, 29 May 2019 19:09:45 +0000 (21:09 +0200)]
Improvements in rendering:
-Line width now is scaled
-Wires are rendered first to make pins look better
Fabian Stemmler [Wed, 29 May 2019 16:12:22 +0000 (18:12 +0200)]
Merge branch 'development' of
https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019 into development
# Conflicts:
# LogicUI/oldsrc/RSLatchGUIExample.java
Fabian Stemmler [Wed, 29 May 2019 16:07:52 +0000 (18:07 +0200)]
Merge branch 'development' of
https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019 into development
# Conflicts:
# LogicUI/src/era/mi/gui/LogicUIStandalone.java
Daniel Kirschten [Wed, 29 May 2019 15:56:29 +0000 (17:56 +0200)]
Recreated RSLatchExample in Playground
Daniel Kirschten [Wed, 29 May 2019 15:45:28 +0000 (17:45 +0200)]
Created a working, usable example in Playground
Daniel Kirschten [Wed, 29 May 2019 15:44:54 +0000 (17:44 +0200)]
Made pin drawing optional
Daniel Kirschten [Wed, 29 May 2019 15:42:50 +0000 (17:42 +0200)]
GUIManualSwitch now renders at the correct location
Daniel Kirschten [Wed, 29 May 2019 15:40:05 +0000 (17:40 +0200)]
WireCrossPoint now renders at the correct location
Daniel Kirschten [Wed, 29 May 2019 15:36:37 +0000 (17:36 +0200)]
Logic model binding of WireCrossPoints is now being set
Daniel Kirschten [Wed, 29 May 2019 15:31:22 +0000 (17:31 +0200)]
Restructured ComponentAdapter; added ManualSwitchAdapter
Daniel Kirschten [Wed, 29 May 2019 15:13:46 +0000 (17:13 +0200)]
Fixed redrawing bug
Daniel Kirschten [Wed, 29 May 2019 15:00:25 +0000 (17:00 +0200)]
Found the redrawing bug mentioned in the last commit
Daniel Kirschten [Wed, 29 May 2019 14:57:34 +0000 (16:57 +0200)]
Actually use adapter. Somehow this introduced a rendering bug...
Daniel Kirschten [Wed, 29 May 2019 14:57:19 +0000 (16:57 +0200)]
Added adapters for OrGate and NotGate
Daniel Kirschten [Wed, 29 May 2019 14:40:21 +0000 (16:40 +0200)]
Created first version of ViewLogicModelAdapter
Daniel Kirschten [Wed, 29 May 2019 14:24:27 +0000 (16:24 +0200)]
Added getter for logicWidth in WireCrossPoint
Daniel Kirschten [Wed, 29 May 2019 14:24:10 +0000 (16:24 +0200)]
Added getters for pin1 and pin2 in GUIWire
Daniel Kirschten [Wed, 29 May 2019 13:24:49 +0000 (15:24 +0200)]
Added concept of wire width to GUIComponents and GUIWires
Daniel Kirschten [Wed, 29 May 2019 10:47:19 +0000 (12:47 +0200)]
Renamed ChangedListeners to LookChangedListeners
Fabian Stemmler [Wed, 29 May 2019 10:42:50 +0000 (12:42 +0200)]
Merge branch 'development' of
https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019 into development
# Conflicts:
# LogicUI/oldsrc/RSLatchGUIExample.java
# LogicUI/src/era/mi/gui/LogicUIStandalone.java
# LogicUI/src/era/mi/gui/components/GUIManualSwitch.java
# SampleERCP/src/sampleercp/parts/LogicUIPart.java
Fabian Stemmler [Wed, 29 May 2019 06:22:04 +0000 (08:22 +0200)]
Timeline updated (executeUntil, setTimeFunction)
The timeline method executeUpto(timestamp, timeout), has been changed to
executeUntil(condition, timeout). The timeline method setTimeFunction
was added (e.g. to allow for real-time simulation). The timeFunction is
called whenever the timeline needs to find out the current simulation
time.
Daniel Kirschten [Tue, 28 May 2019 21:40:31 +0000 (23:40 +0200)]
Implemented GUIManualSwitch
Daniel Kirschten [Tue, 28 May 2019 21:39:07 +0000 (23:39 +0200)]
Improvements in GUIWire and WireCrossPoint redrawing:
-GUIWire now supports ChangedListeners
-GUIWire and WireCrossPoint now call their ChangedListeners to request
redraws
-GUIWire and WireCrossPoint now use ColorHelper
Daniel Kirschten [Tue, 28 May 2019 21:29:28 +0000 (23:29 +0200)]
Added BitVectorFormatter (as well as ColorDefinition)
Daniel Kirschten [Tue, 28 May 2019 12:56:25 +0000 (14:56 +0200)]
Added code for testing automatic redraws for model changes
Daniel Kirschten [Tue, 28 May 2019 12:51:19 +0000 (14:51 +0200)]
Small changes; mainly in the listener system:
-Listeners now are Consumer<? super X> instead of Consumer<X>
-LogicUICanvas adds/removes listeners to not miss changes in the model
-Updated to new SWTHelper version
Daniel Kirschten [Tue, 28 May 2019 09:58:57 +0000 (11:58 +0200)]
Fixed stupid bug causing NullPointerExceptions in GUIWire
Daniel Kirschten [Tue, 28 May 2019 09:52:33 +0000 (11:52 +0200)]
LogicUIPart: Removed old code now incompatible with LogicUI
Daniel Kirschten [Tue, 28 May 2019 09:51:33 +0000 (11:51 +0200)]
GUIWire now supports moving pins
Daniel Kirschten [Tue, 28 May 2019 09:49:25 +0000 (11:49 +0200)]
Added destroy for GUIComponent and GUIWire
Daniel Kirschten [Tue, 28 May 2019 09:44:30 +0000 (11:44 +0200)]
LogicUICanvas now uses the new listener system; changes in clicked()
Daniel Kirschten [Tue, 28 May 2019 09:36:26 +0000 (11:36 +0200)]
Improved listener system
Daniel Kirschten [Tue, 28 May 2019 09:22:37 +0000 (11:22 +0200)]
Started restructuring LogicUI
Daniel Kirschten [Tue, 28 May 2019 09:22:09 +0000 (11:22 +0200)]
Updated LogicUI to Java 10
Daniel Kirschten [Mon, 27 May 2019 21:27:57 +0000 (23:27 +0200)]
Made LogicUIPart work again
Fabian Stemmler [Mon, 27 May 2019 18:06:29 +0000 (20:06 +0200)]
Timeline now passed via constructor
The Timeline is now passed into each Component and Wire via the
constructor. It is no longer statically accessed through the Simulation
class. Made SampleERCP and LogicUI compatible with this change.