Class LinkManagerObject

    • Constructor Detail

      • LinkManagerObject

        public LinkManagerObject​(ContainerObject parent)
        LinkManagerObject constructor comment.
        Parameters:
        parent - com.cosylab.vdct.graphics.objects.ContainerObject
    • Method Detail

      • addInvalidLink

        public void addInvalidLink​(EPICSLink field)
        Parameters:
        field - field
      • removeInvalidLink

        public void removeInvalidLink​(EPICSLink field)
        Parameters:
        field - field
      • getField

        public abstract VDBFieldData getField​(String name)
        Parameters:
        name - name
        Returns:
        something
      • fieldChanged

        public abstract void fieldChanged​(VDBFieldData field)
        Insert the method's description here. Creation date: (27.1.2001 16:12:03)
        Parameters:
        field - com.cosylab.vdct.vdb.VDBFieldData
      • fixEPICSOutLinks

        public void fixEPICSOutLinks​(Enumeration e,
                                     String prevGroup,
                                     String group)
        Insert the method's description here. Creation date: (5.2.2001 9:42:29)
        Parameters:
        e - java.util.Enumeration list of VDBFieldData fields
        prevGroup - java.lang.String
        group - java.lang.String
      • fixLinks

        public void fixLinks()
        Goes through link fields (in, out, var, fwd) and cheks if ther are OK, if not it fixes it When record is moved, renames, etc. value of in, out, fwd should be changed, but visual link is still preserved :) (linked list). It compares start point end end point and ... Creation date: (2.5.2001 19:37:46)
      • fixLinks_

        public void fixLinks_()
      • fixLink

        public static void fixLink​(EPICSVarLink varlink)
        Parameters:
        varlink - varlink
      • fixMacroLink

        public static void fixMacroLink​(Macro macro)
        !!!! duplication
        Parameters:
        macro - macro
      • fixLink

        public static void fixLink​(EPICSLinkOutIn linkoutin)
        Parameters:
        linkoutin - linkoutin
      • fixLink_

        public static void fixLink_​(EPICSVarLink varlink)
        Parameters:
        varlink - varlink
      • isSoftwareLink

        public static boolean isSoftwareLink​(VDBFieldData field)
        Returns true if link is software link Creation date: (30.1.2001 9:36:15)
        Parameters:
        field - com.cosylab.vdct.vdb.VDBFieldData
        Returns:
        boolean
      • manageLink

        public boolean manageLink​(VDBFieldData field)
        Insert the method's description here. Creation date: (30.1.2001 9:36:15)
        Parameters:
        field - com.cosylab.vdct.vdb.VDBFieldData
        Returns:
        boolean
      • manageLink_

        public boolean manageLink_​(VDBFieldData field)
        Insert the method's description here. Creation date: (30.1.2001 9:36:15)
        Parameters:
        field - com.cosylab.vdct.vdb.VDBFieldData
        Returns:
        boolean
      • moveConnectors

        public void moveConnectors​(int dx,
                                   int dy)
        Insert the method's description here. Creation date: (1.2.2001 17:38:36)
        Parameters:
        dx - int
        dy - int
      • postDraw

        public void postDraw​(Graphics g,
                             boolean hilited)
        Insert the method's description here. Creation date: (21.12.2000 21:58:56)
        Overrides:
        postDraw in class VisibleObject
        Parameters:
        g - java.awt.Graphics
        hilited - boolean
      • getLinkMenus

        public Vector getLinkMenus​(Enumeration vdbFields)
        Insert the method's description here. Creation date: (2.2.2001 20:31:29)
        Parameters:
        vdbFields - vdbFields
        Returns:
        java.util.Vector
      • destroyFields

        protected void destroyFields()
        Insert the method's description here. Creation date: (30.1.2001 11:59:54)
      • getTargetLink

        public LinkSource getTargetLink()
        Returns the targetLink.
        Returns:
        LinkSource
      • setTargetLink

        public void setTargetLink​(LinkSource targetLink)
        Sets the targetLink.
        Parameters:
        targetLink - The targetLink to set
      • checkIfMacroCandidate

        public static void checkIfMacroCandidate​(Object dsId,
                                                 VDBFieldData field,
                                                 HashMap macros)
        Parameters:
        dsId - dsId
        field - field
        macros - macros
      • isFirstField

        public boolean isFirstField​(Field field)
        Insert the method's description here. Creation date: (3.5.2001 22:54:43)
        Parameters:
        field - com.cosylab.vdct.graphics.objects.Field
        Returns:
        boolean
      • isLastField

        public boolean isLastField​(Field field)
        Insert the method's description here. Creation date: (3.5.2001 22:53:47)
        Parameters:
        field - com.cosylab.vdct.graphics.objects.Field
        Returns:
        something
      • moveFieldDown

        public void moveFieldDown​(Field field)
        Insert the method's description here. Creation date: (3.5.2001 22:36:11)
        Parameters:
        field - com.cosylab.vdct.graphics.objects.Field
      • moveFieldUp

        public void moveFieldUp​(Field field)
        Insert the method's description here. Creation date: (3.5.2001 22:36:11)
        Parameters:
        field - com.cosylab.vdct.graphics.objects.Field
      • revalidateFieldsPosition

        public abstract void revalidateFieldsPosition()
        Insert the method's description here. Creation date: (3.5.2001 22:36:11)