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 of IDiagram. Represents dummy diagram. Dummy diagram does not contain any figures or connections.
  • 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 interface com._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 interface com._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 interface com._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 interface com._1c.g5.v8.dt.diagram.framework.ui.IDiagram
    • getSelectedFigures

      public Collection<? extends org.eclipse.draw2d.IFigure> getSelectedFigures()
      Specified by:
      getSelectedFigures in interface com._1c.g5.v8.dt.diagram.framework.ui.IDiagram
    • getSelectedConnections

      public Collection<? extends org.eclipse.draw2d.Connection> getSelectedConnections()
      Specified by:
      getSelectedConnections in interface com._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 interface com._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 interface com._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 interface com._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 interface com._1c.g5.v8.dt.diagram.framework.ui.IDiagram
    • contains

      public boolean contains(org.eclipse.draw2d.IFigure figure)
      Specified by:
      contains in interface com._1c.g5.v8.dt.diagram.framework.ui.IDiagram
    • containsSelection

      public boolean containsSelection(org.eclipse.draw2d.IFigure figure)
      Specified by:
      containsSelection in interface com._1c.g5.v8.dt.diagram.framework.ui.IDiagram
    • selectFigure

      public void selectFigure(org.eclipse.draw2d.IFigure figure)
      Specified by:
      selectFigure in interface com._1c.g5.v8.dt.diagram.framework.ui.IDiagram
    • deselectFigure

      public void deselectFigure(org.eclipse.draw2d.IFigure figure)
      Specified by:
      deselectFigure in interface com._1c.g5.v8.dt.diagram.framework.ui.IDiagram
    • clearSelection

      public void clearSelection()
      Specified by:
      clearSelection in interface com._1c.g5.v8.dt.diagram.framework.ui.IDiagram