rvasa / jseat

Automatically exported from code.google.com/p/jseat
0 stars 0 forks source link

Standardise menu for JSeatExplorer and JSeatVisualizer #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Background:
There is much duplicated code in JSeatExplorer and JSeatVisualizer and one 
such feature is the creation of their respective FileMenu. This 
duplication has also led to a difference in the items on them (that 
perform the same tasks).

Additionally, the standardized menu needs to change the behaviour of 'new' 
and 'open' to facilitate project changes brought about by Issue 17.

Proposed Changes:
New should prompt for the creation of a new project and open should prompt 
for opening an existing project.

It would be good to provide this default menu with the default File items 
already set up on it and provide the ability for applications using this 
menu to provide more menu items of their own.

Original issue reported on code.google.com by jtha...@gmail.com on 28 Aug 2007 at 5:43

GoogleCodeExporter commented 9 years ago
Fixed:
A new pre-setup FileMenu for use in JSeat gui's has been added called JSeatMenu.

The default items on the JSeatMenu:

File                    Help
  New Project Ctrl+N      About
  Open Project Ctrl+O
  --------------------
  Exit

The JSeatMenu provides direct access to the MenuItems on it for easy 
registering of 
selection listeners and provides access to the underlying MenuBar so that new 
menu 
items can be added.

Original comment by jtha...@gmail.com on 28 Aug 2007 at 7:14