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
public class DummyDiagram extends Object implements com._1c.g5.v8.dt.diagram.framework.ui.IDiagram
Implementation ofIDiagram. Represents dummy diagram. Dummy diagram does not contain any figures or connections.
-
-
Constructor Summary
Constructors Constructor Description DummyDiagram()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConnection(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection connection)voidaddFigure(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure figure)voidclearSelection()booleancontains(org.eclipse.draw2d.IFigure figure)booleancontainsSelection(org.eclipse.draw2d.IFigure figure)voiddeselectFigure(org.eclipse.draw2d.IFigure figure)Collection<? extends com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection>getConnections()Collection<? extends com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure>getFigures()static com._1c.g5.v8.dt.diagram.framework.ui.IDiagramgetInstance()Returns instance of this class.Collection<? extends org.eclipse.draw2d.Connection>getSelectedConnections()Collection<? extends org.eclipse.draw2d.IFigure>getSelectedFigures()voidremoveConnection(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection connections)voidremoveConnections(Collection<com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramConnection> connections)voidremoveFigure(com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure figure)voidremoveFigures(Collection<com._1c.g5.v8.dt.diagram.framework.ui.model.AbstractDiagramFigure> figures)voidselectFigure(org.eclipse.draw2d.IFigure figure)
-
-
-
Method Detail
-
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:
addFigurein 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:
addConnectionin 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:
getFiguresin 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:
getConnectionsin interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
getSelectedFigures
public Collection<? extends org.eclipse.draw2d.IFigure> getSelectedFigures()
- Specified by:
getSelectedFiguresin interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
getSelectedConnections
public Collection<? extends org.eclipse.draw2d.Connection> getSelectedConnections()
- Specified by:
getSelectedConnectionsin 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:
removeFigurein 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:
removeFiguresin 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:
removeConnectionin 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:
removeConnectionsin interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
contains
public boolean contains(org.eclipse.draw2d.IFigure figure)
- Specified by:
containsin interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
containsSelection
public boolean containsSelection(org.eclipse.draw2d.IFigure figure)
- Specified by:
containsSelectionin interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
selectFigure
public void selectFigure(org.eclipse.draw2d.IFigure figure)
- Specified by:
selectFigurein interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
deselectFigure
public void deselectFigure(org.eclipse.draw2d.IFigure figure)
- Specified by:
deselectFigurein interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
clearSelection
public void clearSelection()
- Specified by:
clearSelectionin interfacecom._1c.g5.v8.dt.diagram.framework.ui.IDiagram
-
-