Package com._1c.g5.v8.dt.bp.scheme.ui
Class DummyDiagram
java.lang.Object
com._1c.g5.v8.dt.bp.scheme.ui.DummyDiagram
- All Implemented Interfaces:
com._1c.g5.v8.dt.diagram.framework.ui.IDiagram
Implementation of
IDiagram
. Represents dummy diagram.
Dummy diagram does not contain any figures or connections.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConnection
(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection connection) void
addFigure
(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure figure) void
boolean
contains
(org.eclipse.draw2d.IFigure figure) boolean
containsSelection
(org.eclipse.draw2d.IFigure figure) void
deselectFigure
(org.eclipse.draw2d.IFigure figure) Collection<? extends com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection>
Collection<? extends com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure>
static com._1c.g5.v8.dt.diagram.framework.ui.IDiagram
Returns instance of this class.Collection<? extends org.eclipse.draw2d.Connection>
Collection<? extends org.eclipse.draw2d.IFigure>
void
removeConnection
(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection connections) void
removeConnections
(Collection<com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection> connections) void
removeFigure
(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure figure) void
removeFigures
(Collection<com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure> figures) void
selectFigure
(org.eclipse.draw2d.IFigure figure)
-
Constructor Details
-
DummyDiagram
public DummyDiagram()
-
-
Method Details
-
getInstance
public static com._1c.g5.v8.dt.diagram.framework.ui.IDiagram getInstance()Returns instance of this class.- Returns:
- instance of this class. Can't return
null
.
-
addFigure
public void addFigure(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure figure) - Specified by:
addFigure
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
addConnection
public void addConnection(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection connection) - Specified by:
addConnection
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
getFigures
public Collection<? extends com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure> getFigures()- Specified by:
getFigures
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
getConnections
public Collection<? extends com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection> getConnections()- Specified by:
getConnections
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
getSelectedFigures
- Specified by:
getSelectedFigures
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
getSelectedConnections
- Specified by:
getSelectedConnections
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
removeFigure
public void removeFigure(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure figure) - Specified by:
removeFigure
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
removeFigures
public void removeFigures(Collection<com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure> figures) - Specified by:
removeFigures
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
removeConnection
public void removeConnection(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection connections) - Specified by:
removeConnection
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
removeConnections
public void removeConnections(Collection<com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection> connections) - Specified by:
removeConnections
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
contains
public boolean contains(org.eclipse.draw2d.IFigure figure) - Specified by:
contains
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
containsSelection
public boolean containsSelection(org.eclipse.draw2d.IFigure figure) - Specified by:
containsSelection
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
selectFigure
public void selectFigure(org.eclipse.draw2d.IFigure figure) - Specified by:
selectFigure
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
deselectFigure
public void deselectFigure(org.eclipse.draw2d.IFigure figure) - Specified by:
deselectFigure
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
clearSelection
public void clearSelection()- Specified by:
clearSelection
in interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-