|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractEditPartProvider
com.ibm.etools.systems.application.visual.editor.providers.DefaultSystemEditPartProvider
public class DefaultSystemEditPartProvider
Default EditPart provider for Application Diagram.
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
DefaultSystemEditPartProvider()
Constructor. |
Method Summary | |
---|---|
RootEditPart |
createRootEditPart(Diagram diagram)
Creates a diagram root editpart that supports rendering of images. |
protected Class |
getDiagramEditPartClass(View view)
Gets a diagram's editpart class. |
protected Class |
getEdgeEditPartClass(View view)
Set the editpart class to the editpart mapped to the supplied view's semantic hint. |
protected Class |
getNodeEditPartClass(View view)
Gets a Node's editpart class. |
boolean |
provides(IOperation operation)
Cycles through the various operations supported by this provider and invokes the appropriate setXXXEditPartClass method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
Constructor Detail |
---|
public DefaultSystemEditPartProvider()
Method Detail |
---|
protected Class getDiagramEditPartClass(View view)
view
- the view to be controlled by the created editpartprotected Class getEdgeEditPartClass(View view)
org.eclipse.gmf.runtime.diagram.ui.services.editpart.AbstractEditPartProvider#setConnectorEditPartClass(org.eclipse.gmf.runtime.diagram.ui.internal.view.IConnectorView)
protected Class getNodeEditPartClass(View view)
view
- the view to be controlled by the created editpartpublic boolean provides(IOperation operation)
setXXXEditPartClass
method.
operation
- an instance of a CreateGraphicEditPartOperation
return getEditPartClass() != null;
org.eclipse.gmf.runtime.common.core.service.IProvider#provides(IOperation)
,
org.eclipse.gmf.runtime.diagram.ui.services.editpart.CreateGraphicEditPartOperation#getView()
public RootEditPart createRootEditPart(Diagram diagram)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |