Package | Description |
---|---|
org.modelio.api.modelio.diagram | |
org.modelio.api.modelio.diagram.dg | |
org.modelio.api.modelio.diagram.tools | |
org.modelio.api.modelio.diagram.tools.standard |
Modifier and Type | Interface and Description |
---|---|
interface |
IDiagramDrawing
Diagram drawings are diagram graphics that are by nature not related to a model elements.
|
interface |
IDiagramDrawingLink
Diagram drawings are diagram graphics that are by nature not related to a model elements.
|
interface |
IDiagramDrawingNode
Diagram drawings are diagram graphics that are by nature not related to a model elements.
|
interface |
IDiagramLink
This class represents a DiagramGraphic of the 'link' kind.
|
interface |
IDiagramNode
This class represents a DiagramGraphic of the 'node' kind.
|
Modifier and Type | Method and Description |
---|---|
IDiagramGraphic |
IDGDynamicDecorator.IOverwrittenProperties.getDG(IDiagramHandle diagram)
Instantiate an
IDiagramGraphic associated with the current element. |
IDiagramGraphic |
IDiagramHandle.getDrawingGraphic(java.lang.String identifier)
Return the drawing graphics matching the given identifier.
|
IDiagramGraphic |
IDiagramLink.getFrom() |
IDiagramGraphic |
IDiagramNode.getParent() |
IDiagramGraphic |
IDiagramLink.getTo() |
Modifier and Type | Method and Description |
---|---|
java.util.List<IDiagramGraphic> |
IDiagramHandle.getDiagramGraphics(MObject element)
Returns the list of diagram graphic representing (ie: for which the getElement() method does return the element
of) the given reference in this diagram or an empty list if none is found.
|
java.util.List<IDiagramGraphic> |
IDiagramGraphicFactory.unmask(MObject element,
int x,
int y)
Unmask a model element in a diagram.
|
java.util.List<IDiagramGraphic> |
IDiagramHandle.unmask(MObject element,
int x,
int y)
Unmask a model element in a diagram.
|
Modifier and Type | Method and Description |
---|---|
void |
IDiagramHandle.mask(IDiagramGraphic graphic)
Mask a graphical element in the diagram.
|
void |
IDiagramLink.setFrom(IDiagramGraphic source)
Change the link's source graphic.
|
void |
IDiagramLink.setTo(IDiagramGraphic target)
Change the link's target graphic.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IDiagramDG
This class represents a diagram graphic for the diagram itself.
|
interface |
IDiagramDrawingsLayer
Layer containing drawing node and links.
|
interface |
IDiagramElementsLayer
Layer containing element nodes and links.
|
interface |
IDiagramLayer
Represents a diagram layer.
|
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.
|
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.
|
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 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.
|
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) |
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GenericMultiLinkTool.acceptAdditionalElement(IDiagramHandle diagramHandle,
java.util.List<IDiagramGraphic> previousNodes,
IDiagramGraphic targetNode) |
boolean |
GenericMultiLinkTool.acceptLastElement(IDiagramHandle diagramHandle,
java.util.List<IDiagramGraphic> otherNodes,
IDiagramGraphic targetNode) |
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) |
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 |
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. |