[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Top Nodes with same class Element - no display at the creation


So is there another way to propose different initialization to the user?
Adding a menu item directly in the pop-up menu of creation?
other...

I tried to add a menu item in the pop-up menu of creation...
Some difficulties : the Palette Factory is hardcoded so we can't use extension points : "org.eclipse.gmf.runtime.diagram.ui.paletteProviders"


I can modify XXXPaletteFactory to add entries (in createXXXCreationTool adding an IElementType to the List types)
But where can I modify the behaviour of the creation for each entries?
How can I distinguish entries with the same IElementType? In NoteToolEntry.createTool, properties are set; can I use them for that?