Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to integrate "DiagramActionBarContributor" into "MultiPageEditorActionBarContribu
How to integrate "DiagramActionBarContributor" into "MultiPageEditorActionBarContribu [message #233611] Mon, 15 June 2009 06:32 Go to next message
Eclipse UserFriend
Originally posted by: jiezi506.gmail.com

I need to integrate my XXXDiagramEditor into XXMultiPageEditor, but the
question was How to integrate "DiagramActionBarContributor" into
"MultiPageEditorActionBarContributor"

The XXXDiagramActionBarContributor had only two method:

public class XXXDiagramActionBarContributor extends
DiagramActionBarContributor {

/**
* @generated
*/
protected Class getEditorClass() {
return Xpdl2DiagramEditor.class;
}

/**
* @generated
*/
protected String getEditorId() {
return Xpdl2DiagramEditor.ID;
}
}
Re: How to integrate "DiagramActionBarContributor" into "MultiPageEditorActionBarCont [message #233666 is a reply to message #233611] Mon, 15 June 2009 10:35 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello jiezi,

Did you try http://www.eclipse.org/articles/Article-Integrating-EMF-GMF- Editors/index.html#completing_menus_and_toolbars?

-----------------
Alex Shatalin
Previous Topic:Diagram update problem related to use of URIEditorInput
Next Topic:How can I add Items to a compartment dynamic per Java code
Goto Forum:
  


Current Time: Thu Apr 09 21:48:43 GMT 2020

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

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

Back to the top