Class EditorScreenFieldProp

    • Constructor Detail

      • EditorScreenFieldProp

        public EditorScreenFieldProp()
        Creates the screen identification property container without a name. The name must be set in all cases using the setPropertyAtom call.
      • EditorScreenFieldProp

        public EditorScreenFieldProp​(Atom propertyAtom)
        Creates the screen identification property container with the specified name. All system-reserved names for components begins with "$".
        propertyAtom - the name of the component, unique within it's parent.
    • Method Detail

      • clone

        public EditorScreenFieldProp clone()
                                    throws java.lang.CloneNotSupportedException
        Clone must be overridden.
        clone in class ScreenFieldProp
        java.lang.CloneNotSupportedException - If a subclass doesn't allow cloning, e.g. the client properties.
      • mustWrap

        public boolean mustWrap()
        Check if the rectangle must wrap (for host fields).
        Specified by:
        mustWrap in interface IScreenRectangle
      • getRectangle

        public getRectangle()
        Gets the Rectangle.
        Specified by:
        getRectangle in interface IScreenRectangle
      • setRectangle

        public void setRectangle​( r)
        Sets the Rectangle.
        Specified by:
        setRectangle in interface IScreenRectangle
      • getColorType

        public int getColorType()
        Gets the "color type". Returned value is added with 12 for color index in preferences, see the PluginPreferences.TERM_RECTANGLE_TYPES.
         0 = Marked field
         2 = Alphanumeric                         
         3 = Numeric                              
         4 = Limited alphanumeric                 
         5 = Other numeric                        
         6 = Signed numeric                       
         7 = 3270 numeric                         
        Specified by:
        getColorType in interface IScreenRectangle
      • createToolTip

        public org.eclipse.swt.widgets.Composite createToolTip​(org.eclipse.swt.widgets.Composite parent,
                                                               ITermEditor editor)
        Creates the tooltip composite.
        Specified by:
        createToolTip in interface IScreenRectangle
      • isShown

        public boolean isShown()
        Checks if shown on screen.
        Specified by:
        isShown in interface IScreenRectangle
      • getCNText

        public java.lang.String getCNText()
        Gets the text for viewers.
      • appendCNStyledTextAdditions

        public void appendCNStyledTextAdditions​(org.eclipse.jface.viewers.StyledString ss)
        Appends optional items to styled text.
        ss - The StyledString.
      • assignFieldType

        public void assignFieldType​(HostScreen screen,
                                    int xOffset,
                                    int yOffset)
        Assigns the field type from the host field.
        screen - The screen.
        xOffset - The X offset of pop-up window.
        yOffset - The Y offset of pop-up window.
      • getDragDropText

        public java.lang.String getDragDropText()
        Gets the link text to display when drag-dropping into JavaScript Panel Editor.
        Specified by:
        getDragDropText in interface ILinkCapable
        The drag-drop text to use.
      • getPossibleChildren

        public java.lang.Class<?>[] getPossibleChildren()
        Gets the acceptable children property classes that can be used in conjunction with e.g. a Paste operation.
        Specified by:
        getPossibleChildren in interface IPropCnr
        getPossibleChildren in class PropCnr
        An array containing the classes of possible children, or null for no support.
      • verify

        public void verify​(PropVerification verification)
        Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
        Specified by:
        verify in interface IGProp<GProp<?>[]>
        verify in class PropCnr
        verification - The property verification class.