Package | Description |
---|---|
org.modelio.api.modelio.diagram | |
org.modelio.api.modelio.diagram.tools | |
org.modelio.api.modelio.diagram.tools.standard |
Modifier and Type | Method and Description |
---|---|
IDiagramHandle |
IDiagramService.getDiagramHandle(AbstractDiagram diagram)
Get a diagram handle on 'diagram'.
It opens a new diagram editor in Modelio, or select it if already opened. |
Modifier and Type | Method and Description |
---|---|
IDiagramGraphic |
IDGDynamicDecorator.IOverwrittenProperties.getDG(IDiagramHandle diagram)
Instantiate an
IDiagramGraphic associated with the current element. |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
DefaultMultiLinkTool.acceptAdditionalElement(IDiagramHandle diagramHandle,
java.util.List<IDiagramGraphic> previousNodes,
IDiagramGraphic targetNode)
This method accept or refuse the interaction with the diagram for an additional element of the interaction.
|
boolean |
IMultiLinkTool.acceptAdditionalElement(IDiagramHandle diagramHandle,
java.util.List<IDiagramGraphic> previousNodes,
IDiagramGraphic targetNode)
This method accept or refuse the interaction with the diagram for an additional element of the interaction.
|
boolean |
IBoxTool.acceptElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode)
This method accepts or refuses the interaction in the diagram.
|
abstract boolean |
DefaultAttachedBoxTool.acceptElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode)
This method accept or refuse the interaction in the diagram.
|
boolean |
IAttachedBoxTool.acceptElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode)
This method accept or refuse the interaction in the diagram.
|
abstract boolean |
DefaultBoxTool.acceptElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode)
This method accept or refuse the interaction in the diagram.
|
abstract boolean |
DefaultMultiLinkTool.acceptFirstElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode)
This method accept or refuse the interaction in the diagram for the first element.
|
boolean |
IMultiLinkTool.acceptFirstElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode)
This method accept or refuse the interaction in the diagram for the first element.
|
abstract boolean |
DefaultLinkTool.acceptFirstElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode)
This method accept or refuse the interaction in the diagram for the origin of the link.
|
boolean |
ILinkTool.acceptFirstElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode)
This method accept or refuse the interaction in the diagram for the origin of the link.
|
abstract boolean |
DefaultMultiLinkTool.acceptLastElement(IDiagramHandle diagramHandle,
java.util.List<IDiagramGraphic> otherNodes,
IDiagramGraphic targetNode)
This method accept or refuse the interaction with the diagram for the "last" element of the interaction.
|
boolean |
IMultiLinkTool.acceptLastElement(IDiagramHandle diagramHandle,
java.util.List<IDiagramGraphic> otherNodes,
IDiagramGraphic targetNode)
This method accept or refuse the interaction with the diagram for the "last" element of the interaction.
|
abstract boolean |
DefaultLinkTool.acceptSecondElement(IDiagramHandle diagramHandle,
IDiagramGraphic originNode,
IDiagramGraphic targetNode)
This method accept or refuse the interaction with the diagram for the destination element of the link.
|
boolean |
ILinkTool.acceptSecondElement(IDiagramHandle diagramHandle,
IDiagramGraphic originNode,
IDiagramGraphic targetNode)
This method accept or refuse the interaction with the diagram for the destination element of the link.
|
abstract void |
DefaultLinkTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic originNode,
IDiagramGraphic targetNode,
IDiagramLink.LinkRouterKind touterType,
ILinkPath path)
This method is invoked when the command is launched.
|
void |
ILinkTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic originNode,
IDiagramGraphic targetNode,
IDiagramLink.LinkRouterKind routerType,
ILinkPath path)
This method is invoked when the command is launched.
|
abstract void |
DefaultAttachedBoxTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic originNode,
IDiagramLink.LinkRouterKind routerType,
ILinkPath path,
Point point)
This method is called when the user click on an existing diagram element.
|
void |
IAttachedBoxTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic originNode,
IDiagramLink.LinkRouterKind routerType,
ILinkPath path,
Point point)
This method is called when the user click on an existing diagram element.
|
abstract void |
DefaultMultiLinkTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic lastNode,
java.util.List<IDiagramGraphic> otherNodes,
java.util.List<IDiagramLink.LinkRouterKind> routerKinds,
java.util.List<ILinkPath> paths,
Rectangle rectangle)
This method is invoked when the command is launched.
|
void |
IMultiLinkTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic lastNode,
java.util.List<IDiagramGraphic> otherNodes,
java.util.List<IDiagramLink.LinkRouterKind> routerKinds,
java.util.List<ILinkPath> paths,
Rectangle rectangle)
This method is invoked when the command is launched.
|
void |
IBoxTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic parent,
Rectangle rect)
This method is called when the interaction is validated by the user.
|
abstract void |
DefaultBoxTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic parent,
Rectangle rect)
This method is called when the interaction is validated by the user.
|
abstract void |
DefaultAttachedBoxTool.actionPerformedInDiagram(IDiagramHandle diagramHandle,
Rectangle rect)
This method is called when the user click in the diagram background.
|
void |
IAttachedBoxTool.actionPerformedInDiagram(IDiagramHandle diagramHandle,
Rectangle rect)
This method is called when the user click in the diagram background.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GenericMultiLinkTool.acceptAdditionalElement(IDiagramHandle diagramHandle,
java.util.List<IDiagramGraphic> previousNodes,
IDiagramGraphic targetNode) |
boolean |
GenericAttachedBoxTool.acceptElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode) |
boolean |
GenericBoxTool.acceptElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode) |
boolean |
GenericMultiLinkTool.acceptFirstElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode) |
boolean |
GenericLinkTool.acceptFirstElement(IDiagramHandle diagramHandle,
IDiagramGraphic targetNode) |
boolean |
GenericMultiLinkTool.acceptLastElement(IDiagramHandle diagramHandle,
java.util.List<IDiagramGraphic> otherNodes,
IDiagramGraphic targetNode) |
boolean |
GenericLinkTool.acceptSecondElement(IDiagramHandle diagramHandle,
IDiagramGraphic originNode,
IDiagramGraphic targetNode) |
void |
GenericLinkTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic originNode,
IDiagramGraphic targetNode,
IDiagramLink.LinkRouterKind routerType,
ILinkPath path) |
void |
GenericAttachedBoxTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic graphic,
IDiagramLink.LinkRouterKind routerType,
ILinkPath path,
Point point) |
void |
GenericMultiLinkTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic lastNode,
java.util.List<IDiagramGraphic> otherNodes,
java.util.List<IDiagramLink.LinkRouterKind> routerKinds,
java.util.List<ILinkPath> paths,
Rectangle rectangle) |
void |
GenericBoxTool.actionPerformed(IDiagramHandle diagramHandle,
IDiagramGraphic graphic,
Rectangle rect) |
void |
GenericAttachedBoxTool.actionPerformedInDiagram(IDiagramHandle diagramHandle,
Rectangle rect) |
protected void |
GenericLinkTool.postConfigure(IDiagramHandle diagramHandle,
IDiagramGraphic originNode,
IDiagramGraphic targetNode,
ModelElement source,
ModelElement target,
MObject newElement,
IDiagramLink newLink,
java.util.List<IDiagramGraphic> newGraphics,
IDiagramLink.LinkRouterKind routerType,
ILinkPath path)
Hook called once the element is created, configured, unmasked and before the transaction is committed.
|
protected void |
GenericAttachedBoxTool.postConfigure(IDiagramHandle diagramHandle,
IDiagramGraphic parentGraphic,
IDiagramLink.LinkRouterKind routerType,
ILinkPath path,
Point point,
MObject parentElement,
MObject newElement,
java.util.List<IDiagramGraphic> newGraphics)
Hook called by
#actionPerformed(IDiagramHandle, IDiagramGraphic, LinkRouterKind, ILinkPath, Point) once the element is created, configured, unmasked and before the transaction is committed. |
protected void |
GenericMultiLinkTool.postConfigure(IDiagramHandle diagramHandle,
IDiagramGraphic lastNode,
java.util.List<IDiagramGraphic> otherNodes,
java.util.List<IDiagramLink.LinkRouterKind> routerKinds,
java.util.List<ILinkPath> paths,
Rectangle rectangle,
MObject newElement,
java.util.List<IDiagramGraphic> newGraphics)
Hook called once the element is created, configured, unmasked and before the transaction is committed.
|
protected void |
GenericBoxTool.postConfigure(IDiagramHandle diagramHandle,
IDiagramGraphic parentGraphic,
Rectangle rect,
ModelElement parentElement,
MObject newElement,
java.util.List<IDiagramGraphic> newGraphics)
Hook called once the element is created, configured, unmasked and before the transaction is committed.
|
protected void |
GenericAttachedBoxTool.postInDiagramConfigure(IDiagramHandle diagramHandle,
Rectangle rect,
ModelElement parentElement,
MObject newElement,
java.util.List<IDiagramGraphic> newGraphics)
Hook called by
GenericAttachedBoxTool.actionPerformedInDiagram(IDiagramHandle, Rectangle) once the element is created, configured, unmasked and before the transaction is committed. |