ErikPettersson / moonshineproject

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

Refactor Moonshine core functionality #81

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Opening/Closing tabs, Plugin architecture, Commands, Etcetera

Currently the functionality & events & event constants are a bit all over the 
place.
MenuPlugin contains constants for many of the core functionality bits, this 
needs to change.

Some things will fall into place as new plugins get added, for example:
TemplatingPlugin will handle creation of new files, so AS3SyntaxPlugin doesn't 
have to be bothered about creating new AS3 files.

————————

Do we need more ways than one to do things?

How do you close a tab? Do you remove it from IDEModel.editors or dispatch an 
CloseTabEvent(someTab) ?

Original issue reported on code.google.com by petterson.erik@gmail.com on 8 Jun 2010 at 1:16

GoogleCodeExporter commented 8 years ago
We could have something like 

com.moonshineproject.core/
events/
commands/
MoonshineCore.as
MoonshineModel.as
GlobalEventDispatcher.as

and so forth, MoonshineCore.as would spin up the plugin handler, add menus that 
needs adding & do all the other misc stuff we do at init.

Original comment by petterson.erik@gmail.com on 8 Jun 2010 at 5:32

GoogleCodeExporter commented 8 years ago

Original comment by petterson.erik@gmail.com on 8 Jun 2010 at 5:33