Class EAbsoluteLayout

    • Constructor Detail

      • EAbsoluteLayout

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

        public EAbsoluteLayout​(Atom propertyAtom)
        Creates the 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

      • 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<EAbsoluteData>
        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<EAbsoluteData>
        The layout additional objects, or null for none.
      • getCNImage

        public getCNImage​(boolean isMobile)
        Gets the image for the Common Navigator.
        Specified by:
        getCNImage in interface IEUICompBase
        isMobile - The mobile theme flag.
        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<EAbsoluteData>
        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
        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<?>[]>
        verify in class PropCnr
        verification - The property verification class.
        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
        op - Complex operation for undo/redo, null when operation should be done directly on property.
        comp - Component to replace the layout data in.
      • 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<EAbsoluteData>
        di - The drop information instance.
        The created components that will be selected, or null for aborted operation or failure.
      • 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<EAbsoluteData>
        op - The complex operation instance.
        cnr - The container.
        oldLayout - Old layout, already removed from the container and disposed of, null if none previously existed.
      • onBeforeAdd

        public void onBeforeAdd​(UIComp component,
                                LayoutProp layout,
                                int index,
                                IComplexOperation op)
                         throws PropException
        Called prior to adding the new component to the layout in order to adjust the layout data.
        onBeforeAdd in class LayoutMgr<AbsoluteData>
        component - Component about to be added.
        layout - The layout data of the component, can be cast to the appropriate value for the layout manager.
        op - The complex operation, null for none.
        PropException - for property errors.
      • layoutNewComponents

        public org.eclipse.core.runtime.IStatus layoutNewComponents​(java.util.List<UIComp> components,
                                                                    ComplexOperation op)
        Called to perform layout of the newly added components.
        Specified by:
        layoutNewComponents in interface IELayoutMgr<EAbsoluteData>
        components - The new components.
        op - The complex operation.
        Status of the operation.