Class HopGuiAbstractGraph

    • Field Detail

      • hopGui

        protected HopGui hopGui
      • parentComposite

        protected org.eclipse.swt.widgets.Composite parentComposite
      • parentTabItem

        protected org.eclipse.swt.custom.CTabItem parentTabItem
      • iconOffset

        protected Point iconOffset
      • noteOffset

        protected Point noteOffset
      • id

        protected final String id
      • toolTip

        protected org.eclipse.swt.widgets.ToolTip toolTip
      • stateMap

        protected Map<String,​Object> stateMap
        This is a state map which can be used by plugins to render extra states on top of pipelines and workflows or their components.
    • Constructor Detail

      • HopGuiAbstractGraph

        public HopGuiAbstractGraph​(HopGui hopGui,
                                   org.eclipse.swt.widgets.Composite parent,
                                   int style,
                                   org.eclipse.swt.custom.CTabItem parentTabItem)
    • Method Detail

      • hopShell

        protected org.eclipse.swt.widgets.Shell hopShell()
      • hopDisplay

        protected org.eclipse.swt.widgets.Display hopDisplay()
      • hasChanged

        public abstract boolean hasChanged()
      • forceFocus

        public boolean forceFocus()
        Overrides:
        forceFocus in class org.eclipse.swt.widgets.Control
      • dispose

        public void dispose()
        Overrides:
        dispose in class org.eclipse.swt.widgets.Widget
      • getParentTabItem

        public org.eclipse.swt.custom.CTabItem getParentTabItem()
        Gets parentTabItem
        Returns:
        value of parentTabItem
      • setParentTabItem

        public void setParentTabItem​(org.eclipse.swt.custom.CTabItem parentTabItem)
        Parameters:
        parentTabItem - The parentTabItem to set
      • getParentComposite

        public org.eclipse.swt.widgets.Composite getParentComposite()
        Gets parentComposite
        Returns:
        value of parentComposite
      • setParentComposite

        public void setParentComposite​(org.eclipse.swt.widgets.Composite parentComposite)
        Parameters:
        parentComposite - The parentComposite to set
      • getId

        public String getId()
        Gets id
        Returns:
        value of id
      • applyStateProperties

        public void applyStateProperties​(Map<String,​Object> stateProperties)
      • showToolTip

        protected void showToolTip​(org.eclipse.swt.graphics.Point location)
      • getVariables

        public IVariables getVariables()
        Gets variables
        Returns:
        value of variables
      • setVariables

        public void setVariables​(IVariables variables)
        Parameters:
        variables - The variables to set
      • getStateMap

        public Map<String,​Object> getStateMap()
        Gets stateMap
        Returns:
        value of stateMap
      • setStateMap

        public void setStateMap​(Map<String,​Object> stateMap)
        Parameters:
        stateMap - The stateMap to set
      • getMagnification

        public float getMagnification()
        Gets magnification
        Returns:
        value of magnification
      • setMagnification

        public void setMagnification​(float magnification)
        Sets magnification
        Parameters:
        magnification - value of magnification
      • getViewPort

        public Rectangle getViewPort()
        Gets viewPort
        Returns:
        value of viewPort
      • setViewPort

        public void setViewPort​(Rectangle viewPort)
        Sets viewPort
        Parameters:
        viewPort - value of viewPort
      • getGraphPort

        public Rectangle getGraphPort()
        Gets graphPort
        Returns:
        value of graphPort
      • setGraphPort

        public void setGraphPort​(Rectangle graphPort)
        Sets graphPort
        Parameters:
        graphPort - value of graphPort
      • enableSnapAlignDistributeMenuItems

        protected void enableSnapAlignDistributeMenuItems​(IHopFileType fileType,
                                                          boolean selectedTransform)