|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Field Summary |
| Fields inherited from interface org.eclipse.gef.EditPart |
SELECTED, SELECTED_NONE, SELECTED_PRIMARY |
| Method Summary | |
EditPart |
findEditPart(EditPart epBegin,
EObject theElement)
finds an editpart given a starting editpart and an EObject |
IGraphicalEditPart |
getChildBySemanticHint(java.lang.String semanticHint)
Returns the first child inside this edit part that owns a view with the same type as the passed hint |
IDiagramEditDomain |
getDiagramEditDomain()
Gets the associated DiagramEditDomain to the edit part |
PreferencesHint |
getDiagramPreferencesHint()
Gets the preferences hint that is to be used to find the appropriate preference store from which to retrieve diagram preference values. |
org.eclipse.emf.transaction.TransactionalEditingDomain |
getEditingDomain()
Gets my transactional EMF editing domain. |
View |
getNotationView()
Return the editpart's associated Notation View. |
java.lang.Object |
getPreferredValue(EStructuralFeature feature)
Retrieves the preferred value for the supplied feature. |
EditPart |
getPrimaryChildEditPart()
this method will return the primary child view inside this edit part |
View |
getPrimaryView()
Convenience method returns the editpart's primary view. |
java.lang.Object |
getStructuralFeatureValue(EStructuralFeature id)
Convenience method to retreive the value for the supplied feature from the editpart's associated view element. |
TopGraphicEditPart |
getTopGraphicEditPart()
Method getTopGraphicEditPart. |
EObject |
resolveSemanticElement()
Gets the semantic element associated to this editpart's view. |
void |
setStructuralFeatureValue(EStructuralFeature feature,
java.lang.Object value)
Convenience method to set a feature value. |
| Methods inherited from interface org.eclipse.gef.GraphicalEditPart |
addNodeListener, getContentPane, getFigure, getSourceConnections, getTargetConnections, removeNodeListener, setLayoutConstraint |
| Methods inherited from interface org.eclipse.gef.EditPart |
activate, addEditPartListener, addNotify, deactivate, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getDragTracker, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, refresh, removeEditPartListener, removeEditPolicy, removeNotify, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
| Methods inherited from interface org.eclipse.gmf.runtime.diagram.ui.internal.editparts.IEditableEditPart |
disableEditMode, enableEditMode, isEditModeEnabled |
| Method Detail |
public View getNotationView()
View, the associated view or null if there is no associated Notation Viewpublic IDiagramEditDomain getDiagramEditDomain()
public IGraphicalEditPart getChildBySemanticHint(java.lang.String semanticHint)
semanticHint -
public TopGraphicEditPart getTopGraphicEditPart()
public java.lang.Object getStructuralFeatureValue(EStructuralFeature id)
public void setStructuralFeatureValue(EStructuralFeature feature,
java.lang.Object value)
feature - value -
public EditPart findEditPart(EditPart epBegin,
EObject theElement)
epBegin - starting edit parttheElement - eObject to use
public View getPrimaryView()
public EditPart getPrimaryChildEditPart()
public PreferencesHint getDiagramPreferencesHint()
public EObject resolveSemanticElement()
null if the semantic element was
null or unresolvablepublic org.eclipse.emf.transaction.TransactionalEditingDomain getEditingDomain()
public java.lang.Object getPreferredValue(EStructuralFeature feature)
feature - the feature to use
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.