Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Root of EditPart
Root of EditPart [message #1661439] Mon, 09 March 2015 16:33 Go to next message
Sami MADDOURI is currently offline Sami MADDOURIFriend
Messages: 7
Registered: November 2014
Junior Member
Hi Everyone,

Is there a common root for all EditParts?

Thanks in advance.

Sami MADDOURi
Re: Root of EditPart [message #1661540 is a reply to message #1661439] Mon, 09 March 2015 17:32 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 926
Registered: February 2011
Senior Member
Hi,

The Interface: org.eclipse.gef.EditPart
The Abstract Class: org.eclipse.gef.editparts.AbstractEditPart

According to the Javadoc, it is not absolutely required to extend AbstractEditPart. However, it seems that all edit parts actually extend it (There *may* be a few exceptions, but I didn't find any)

All diagram elements also extend the org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart (However, other kinds of EditParts, such as TreeEditPart, do not extend GraphicalEditPart)

Camille


Camille Letavernier
Re: Root of EditPart [message #1661572 is a reply to message #1661540] Mon, 09 March 2015 17:50 Go to previous message
Sami MADDOURI is currently offline Sami MADDOURIFriend
Messages: 7
Registered: November 2014
Junior Member
Hi Camille,

Is there a way to get all the edit Parts in all views. Now i can just get the edit parts of the active page, but i want to get all the edit parts . I am stuck since a while.

Thanks in advance,

Sami MADDOURI
Previous Topic:Diagram Frames
Next Topic:Viewpoint configuration for StateMachine Diagrams
Goto Forum:
  


Current Time: Wed Jul 08 15:36:27 GMT 2020

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

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

Back to the top