Class EBorderLayout

    • Constructor Detail

      • EBorderLayout

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

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

      • isCNVisible

        public boolean isCNVisible()
        Checks if a property should be included in the view or if it's hidden or filtered out.
        Specified by:
        isCNVisible in interface IELayoutMgr<EBorderData>
        Returns:
        Default is false, override to display in tree.
      • getPropertyEditorLayoutDataSetup

        public java.lang.Object[] getPropertyEditorLayoutDataSetup()
        Gets the layout data settings for a component.
        Specified by:
        getPropertyEditorLayoutDataSetup in interface IELayoutMgr<EBorderData>
        Returns:
        The layout additional objects, or null for none.
      • getCNImage

        public org.eclipse.swt.graphics.Image getCNImage​(boolean isMobile)
        Gets the image for the Common Navigator.
        Specified by:
        getCNImage in interface IEUICompBase
        Parameters:
        isMobile - The mobile theme flag.
        Returns:
        Image or null if there is no image.
      • isReplaceable

        public boolean isReplaceable()
        Checks if this layout manager is replaceable by another.
        Specified by:
        isReplaceable in interface IELayoutMgr<EBorderData>
        Returns:
        By default, the layout managers are not replaceable, so this method must be overridden.
      • getTransferProps

        public java.lang.Object[] getTransferProps()
        Returns the list of properties that are transferable between layout managers.
        Specified by:
        getTransferProps in interface ITransferContainerProps
        Returns:
        The list of String's or Atom's that are transferable, null for none.
      • verify

        public boolean 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<?>[]>
        Overrides:
        verify in class PropCnr
        Parameters:
        verification - The property verification class.
        Returns:
        true if verification should proceed, false if disposed of and verification should not take place.
      • checkReplaceLayoutData

        public void checkReplaceLayoutData​(ComplexOperation op,
                                           UIComp comp)
        Perform check of the component layout data and replaces it if required.
        Specified by:
        checkReplaceLayoutData in interface IReplaceLayoutData
        Parameters:
        op - Complex operation for undo/redo, null when operation should be done directly on property.
        comp - Component to replace the layout data in.
      • convertLayout

        public void convertLayout​(ComplexOperation op,
                                  UIContainer cnr,
                                  LayoutMgr<?> oldLayout)
        Called to convert one layout to another when the layout has been dropped into a container. The conversion must apply to all components in the container, e.g. that all components gets the GridData instead of AbsoluteData.
        Specified by:
        convertLayout in interface IELayoutMgrDND<EBorderData>
        Parameters:
        op - The complex operation instance.
        cnr - The container.
        oldLayout - Old layout, already removed from the container and disposed of, null if none previously existed.
      • onDrop

        public UIComp[] onDrop​(DropInfo di)
        Performs a drop from JavaScript in this layout manager with the specified properties and the layout manager specific transaction data.
        Specified by:
        onDrop in interface IELayoutMgrDND<EBorderData>
        Parameters:
        di - The drop information instance.
        Returns:
        The created components that will be selected, or null for aborted operation or failure.