| [news.eclipse.modeling.gmf] Re: 'Selecting' nodes through IAction |
Hi Gaff,
that`s what I meant with getInstance():
/**
* @generated NOT
*/
private static XXXDiagramEditor instance;
/**
* @generated NOT
*/
public XXXDiagramEditor() {
super(true);
instance = this;
}
/**
* @ generated NOT
*/
public static XXXDiagramEditor getInstance() {
return instance;
}Best wishes Julia
Hi Julia,
I'm not sure what I should be putting into .getInstance() method that I add to the XXXDiagramEditor? I thought what I have below is what I needed and although it compiles it does not work:
public static XXXDiagramEditor getInstance() { return XXXDiagramEditor.getInstance(); }
It is the xxxDiagramEditor that I need to return an instance of?
Thanks,
Gaff