Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » PopUp window appears before the GMF Editor comes up(PopUp window appears before the GMF Editor comes up)
PopUp window appears before the GMF Editor comes up [message #757097] Wed, 16 November 2011 13:53
vinny503 Missing name is currently offline vinny503 Missing nameFriend
Messages: 156
Registered: August 2011
Senior Member

I am trying to implement a pop up window when a node is dragged and dropped on to the editor, I am able to do that but it appears twice even before the GMF Editor comes up....!!

I am having the popup window class in package and invoking that in xxxFigure inner class of

Sample code shown below, I have highlighted the added code to the xxxFigure() constructor and InputDialog is my popup window class

-------sample code--------

* @generated
public xxxFigure() {

this.setCornerDimensions(new Dimension(getMapMode().DPtoLP(Cool,
this.setBorder(new MarginBorder(getMapMode().DPtoLP(5),
getMapMode().DPtoLP(5), getMapMode().DPtoLP(5),

Shell shell = new Shell();
int var = 100;
dialog = new InputDialog(shell,var);;


I am not able to resolve this...Does anyone have the idea ??

Previous Topic:Combine two ecore Models
Next Topic:[SOLVED] How to build this type of diagram?
Goto Forum:

Current Time: Thu May 24 06:32:34 GMT 2018

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

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

Back to the top