Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EWL Wizards
EWL Wizards [message #569929] Mon, 29 June 2009 20:23
Warren R is currently offline Warren RFriend
Messages: 4
Registered: July 2009
Junior Member

I have found what I think is a bug inside the epsilon ewl.emf plugin. The
issue is that the wizard menu becomes an orphan and is no longer
maintained by the code. It simply stays in the same state till the
diagram is closed and reopened. This can be reproduced very easily,

1) create a new diagram with model
2) add entities to the diagram
3) right click on any of the entities and go to the wizard menu so a title
is produced and displayed (do not need to execute wizard)
4) save diagram and initialize a new diagram from the same model
5) right click on any entity in the new diagram and go to the wizard menu
so a title is displayed (do not need to execute wizard)
6) go back to first diagram and right click on an entity to view a wizard
that is available for it

The title that is displayed in the wizard should not change now regardless
of the entity that is selected in the first diagram editor.

Through debugging I see that AbstractContributeWizardsAction is only
created once globally, it is not created per diagram. The method
getMenu(Menu parent) is called for the first time the wizard menu is
accessed per diagram. Each time it is called it overwrites the menu for
the previous diagram resulting in the static wizard that is seen in the
first diagram editor.

Any help would be most appreciated.

Thank You,
Warren R.
Previous Topic:Making EVL files known to Eclipse
Next Topic:[EML] using EML for generic metamodel compositon
Goto Forum:

Current Time: Sun May 27 18:00:37 GMT 2018

Powered by FUDForum. Page generated in 0.01934 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top