Commit Graph

49 Commits

Author SHA1 Message Date
Andrew Lalis 0254ff8a29 small cleanup 2021-10-31 10:50:19 +01:00
Andrew Lalis cea15d872b Added a selection model, and attribute selection, and cleaned up foreign key referencing. 2021-10-31 10:47:07 +01:00
Andrew Lalis 1019654e76 Cleaned up singleton actions, updated instructions, etc. 2021-10-28 12:06:50 +02:00
Andrew Lalis 0be31c84ac Bumped version 2021-10-27 17:42:24 +02:00
Andrew Lalis f33e3d2069 Made color dependent on referenced attribute. 2021-10-27 17:42:01 +02:00
Andrew Lalis fa87c32591 Added visualization of relations, transparent selection and attribute backgrounds 2021-10-27 17:31:18 +02:00
Andrew Lalis bc464ba42b Removed useless admin stuff, changed to save files as JSON, added image scaling for exports. 2021-10-27 13:00:55 +02:00
Andrew Lalis d63eb3345f Bumped version, slight cleanup of AddRelationAction. 2021-02-27 21:01:21 +01:00
Andrew Lalis a8966d6051
Merge pull request #10 from bjornpijnacker/auto-position
Implemented Automatic Alignment
2021-02-27 20:39:14 +01:00
Bjorn Pijnacker e623bddcf6
Merge branch 'main' into auto-position 2021-02-27 20:38:41 +01:00
Andrew Lalis 2ffe085f7a
Merge pull request #12 from bjornpijnacker/issue-9
Changed all dialogs and popups to use diagramPanel as a parent
2021-02-27 20:36:44 +01:00
Bjorn Pijnacker 06a6a0704f
changed all dialogs and popups to use diagramPanel as a parent
This makes them spawn at the center of the diagramPanel, instead of the center of the primary display of the computer
2021-02-27 20:32:00 +01:00
Bjorn Pijnacker 9256eaa10d
switched some spaces to tabs (again) 2021-02-27 20:04:05 +01:00
Bjorn Pijnacker 560f72110d
parented dialogs in AutoPositionAction to the DiagramPanel
This ensures they spawn at the center of the panel and not centered on the computer's primary display
2021-02-27 20:02:38 +01:00
Bjorn Pijnacker ecd5a0b8fc
fixed ambiguous naming of positionRelation() method
the bottom method now just returns the alpabetically sorted one and passes that as an argument to the other method which expects a sorted list of relations
2021-02-27 19:54:12 +01:00
Bjorn Pijnacker d238c521ea
fixed an issue where the spacing was decided by the first element and not the (vertically) largest 2021-02-27 09:30:21 +01:00
Bjorn Pijnacker 521ee92c0a
Implemented a fix for the custom sort not seeing relations after loading a model 2021-02-26 21:49:30 +01:00
Bjorn Pijnacker 8da7e5cfce
Small naming change 2021-02-26 21:37:34 +01:00
Bjorn Pijnacker faadc40d26
Implemented custom order alignment
- Implemented a custom model for a JList that allows for reordering elements using JButtons
- Ask the user whether to sort alphabetically or using an order they decide
- Ensured that the list in the OrderableListPanel keeps its order between multiple sorting times (this saves the user the work of re-sorting every time)
2021-02-26 21:36:18 +01:00
Bjorn Pijnacker af00918502
Implemented rudimentary auto-positioning feature using alphabetic sorting of relations
Now going to be working on custom sorting
2021-02-26 20:23:42 +01:00
Andrew Lalis 3ba2f1982c Minor fixes, updated version. 2021-02-23 19:35:52 +01:00
Andrew Lalis a0eb582f69
Merge pull request #7 from bjornpijnacker/main
Implement a colorful lolcat mode
2021-02-23 19:25:32 +01:00
Bjorn Pijnacker fb4ae18242
added description to lolcat toggle item 2021-02-23 18:53:59 +01:00
Bjorn Pijnacker b84ca5deaf
removed static Frame in main class 2021-02-23 18:51:46 +01:00
Bjorn Pijnacker c84d9b138a
changed the way color location is calculated 2021-02-23 18:49:54 +01:00
Bjorn Pijnacker 21ac830896
changed the way the lolcat boolean is represented; changed the way LolcatAction accesses DiagramPanel; changed the way AttributeViewModel gets the window bounds 2021-02-23 18:19:01 +01:00
Bjorn Pijnacker 16c5d7b2d0
changed spaces to tabs
I have honestly no idea why it wasn't autodetecting the use of tabs
2021-02-23 16:19:05 +01:00
Bjorn Pijnacker c8b114195d
added a lolcat mode 2021-02-23 13:20:29 +01:00
Andrew Lalis 1cb513cb51 Added fix for new relation creation. 2021-02-23 09:33:43 +01:00
Andrew Lalis 657aece1ac quick add help 2021-02-23 09:13:21 +01:00
Andrew Lalis d70426c407
Merge pull request #6 from andrewlalis/admin_actions
Version 1.3.0
2021-02-23 09:11:58 +01:00
Andrew Lalis 32638e103d Version bump. 2021-02-23 09:10:47 +01:00
Andrew Lalis f37df5defc Added better load and save preferences, non-modal help. 2021-02-23 09:10:23 +01:00
Andrew Lalis 7a49772540 Some improvements! 2021-02-21 15:40:17 +01:00
Andrew Lalis a0a3b269b0 Added er mapping algorithm help. 2021-02-21 14:38:39 +01:00
Andrew Lalis 84709cc0d4 Added admin actions. 2021-02-21 12:56:13 +01:00
Andrew Lalis d5546a5320 Added better user interface controls and panning. 2021-02-16 13:00:31 +01:00
Andrew Lalis 471db2f60a version increment. 2021-02-08 19:19:41 +01:00
Andrew Lalis e606b8f9f4 Added instructions. 2021-02-08 19:19:15 +01:00
Andrew Lalis f541a994b9 Cleaned up adding attributes slightly, made attribute types more readable. 2021-02-08 18:18:43 +01:00
Andrew Lalis cac3381c54 Fixed bugs in attribute adding action and saving. 2021-02-08 18:08:10 +01:00
Andrew Lalis 592bbbb769 Final changes for version 1.0.0 2021-02-07 22:55:42 +01:00
Andrew Lalis 711dde51a7 Added sample_export.png 2021-02-07 22:32:22 +01:00
Andrew Lalis 7e22602b57 Added better stuff and new model. 2021-02-07 22:28:51 +01:00
Andrew Lalis db140733ae Added primitive foreign key stuff. 2021-02-07 21:37:07 +01:00
Andrew Lalis f47b2449d3 Added image export. 2021-02-07 20:51:42 +01:00
Andrew Lalis cf2a670e0b Added better mouse functionality and save. 2021-02-07 18:22:14 +01:00
Andrew Lalis 8e8b8d3302 Added base UI 2021-02-07 15:28:23 +01:00
Andrew Lalis af5928d24a
Initial commit 2021-02-07 09:19:56 +01:00