|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.editparts.AbstractEditPart
org.eclipse.gef.editparts.AbstractGraphicalEditPart
vocleditor.edit.AbstractVOCLEditPart
vocleditor.edit.ContextEditPart
public class ContextEditPart
The context edit part.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.gef.EditPartListener |
---|
org.eclipse.gef.EditPartListener.Stub |
Field Summary |
---|
Fields inherited from interface org.eclipse.gef.EditPart |
---|
SELECTED, SELECTED_NONE, SELECTED_PRIMARY |
Fields inherited from interface org.eclipse.gef.RequestConstants |
---|
REQ_ADD, REQ_ALIGN, REQ_ALIGN_CHILDREN, REQ_CLONE, REQ_CONNECTION_END, REQ_CONNECTION_START, REQ_CREATE, REQ_CREATE_BENDPOINT, REQ_DELETE, REQ_DELETE_DEPENDANT, REQ_DIRECT_EDIT, REQ_MOVE, REQ_MOVE_BENDPOINT, REQ_MOVE_CHILDREN, REQ_OPEN, REQ_ORPHAN, REQ_ORPHAN_CHILDREN, REQ_RECONNECT_SOURCE, REQ_RECONNECT_TARGET, REQ_RESIZE, REQ_RESIZE_CHILDREN, REQ_SELECTION, REQ_SELECTION_HOVER |
Constructor Summary | |
---|---|
ContextEditPart(VOCLModel.Context context)
The constructor. |
Method Summary | |
---|---|
void |
childAdded(org.eclipse.gef.EditPart child,
int index)
only for inheritance |
void |
notifyChanged(org.eclipse.emf.common.notify.Notification note)
Refreshes the figure after a model change. |
void |
partActivated(org.eclipse.gef.EditPart editpart)
only for inheritance |
void |
partDeactivated(org.eclipse.gef.EditPart editpart)
only for inheritance |
void |
performRequest(org.eclipse.gef.Request request)
Opens the properties dialog and creates and executes an EditContextCommand if necessary |
void |
removingChild(org.eclipse.gef.EditPart child,
int index)
only for inheritance |
void |
selectedStateChanged(org.eclipse.gef.EditPart editpart)
(Un-)Highlights the AttributeFigure if the parts selection state changes. |
Methods inherited from class vocleditor.edit.AbstractVOCLEditPart |
---|
activate, deactivate, getAdapter, getShell, getTarget, isAdapterForType, setShell, setTarget |
Methods inherited from class org.eclipse.gef.editparts.AbstractGraphicalEditPart |
---|
addNodeListener, addNotify, getContentPane, getDragTracker, getFigure, getSourceConnections, getTargetConnections, refresh, removeNodeListener, removeNotify, setLayoutConstraint |
Methods inherited from class org.eclipse.gef.editparts.AbstractEditPart |
---|
addEditPartListener, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, removeEditPartListener, removeEditPolicy, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, toString, understandsRequest |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.gef.EditPart |
---|
addEditPartListener, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, removeEditPartListener, removeEditPolicy, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest |
Constructor Detail |
---|
public ContextEditPart(VOCLModel.Context context)
context
- The Contex model element this edit part corresponds toMethod Detail |
---|
public void notifyChanged(org.eclipse.emf.common.notify.Notification note)
notifyChanged
in interface org.eclipse.emf.common.notify.Adapter
notifyChanged
in class AbstractVOCLEditPart
Adapter.notifyChanged(org.eclipse.emf.common.notify.Notification)
public void childAdded(org.eclipse.gef.EditPart child, int index)
childAdded
in interface org.eclipse.gef.EditPartListener
public void partActivated(org.eclipse.gef.EditPart editpart)
partActivated
in interface org.eclipse.gef.EditPartListener
public void partDeactivated(org.eclipse.gef.EditPart editpart)
partDeactivated
in interface org.eclipse.gef.EditPartListener
public void removingChild(org.eclipse.gef.EditPart child, int index)
removingChild
in interface org.eclipse.gef.EditPartListener
public void selectedStateChanged(org.eclipse.gef.EditPart editpart)
selectedStateChanged
in interface org.eclipse.gef.EditPartListener
public void performRequest(org.eclipse.gef.Request request)
EditContextCommand
if necessary
performRequest
in interface org.eclipse.gef.EditPart
performRequest
in class org.eclipse.gef.editparts.AbstractEditPart
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |