Class ToggleSnapToGeometryAction

  • All Implemented Interfaces:
    IAction

    public class ToggleSnapToGeometryAction
    extends Action
    An action that toggles the snap to geometry property on the given viewer. This action can handle the case where that property is not set on the viewer initially.
    Since:
    3.0
    • Constructor Detail

      • ToggleSnapToGeometryAction

        public ToggleSnapToGeometryAction​(GraphicalViewer diagramViewer)
        Constructor
        Parameters:
        diagramViewer - the GraphicalViewer whose snap to geometry property is to be toggled