Interface IFormEditorPage

    • Method Detail

      • refresh

        void refresh​(FormEditorComponent component)
        Refreshes the form editor UI component.
        Parameters:
        component - the form editor UI component to refresh, cannot be null
      • setSelection

        void setSelection​(FormEditorComponent component,
                          boolean setFocus,
                          Object... selection)
        Selects the provided objects in the provided form editor UI component.
        Parameters:
        component - the form editor UI component to select objects in, cannot be null
        setFocus - true if also need to set focus on the component, false otherwise
        selection - the objects to select, cannot be null or empty
      • setActiveComponent

        void setActiveComponent​(FormEditorComponent component)
        Sets the active component.
        Parameters:
        component - the component which should be activated, cannot be null
      • getMappingController

        MappingController getMappingController()
        Returns the mapping model controller.
        Returns:
        the mapping controller with mapping model for the form, never null
      • getStateSwitcher

        FormEditorStateSwitcher getStateSwitcher()
        Returns the swither of form editor state.
        Returns:
        the form editor state switcher, never null
      • getModel

        Form getModel()
        Returns the form model object, opened on this page.
        Returns:
        current form model object, never null
      • getBmModel

        IBmModel getBmModel()
        Returns the BM model instance for the form model object, opened on this page.
        Returns:
        the BM model instance, never null
      • getEditingContext

        IBmEditingContext getEditingContext()
        Returns the BM editing context.
        Returns:
        the BM editing context, never null
      • getShell

        org.eclipse.swt.widgets.Shell getShell()
        Returns SWT shell.
        Returns:
        the SWT shell, never null
      • isReadOnly

        boolean isReadOnly()
        Tells whether form page is in read-only mode, i.e. it is impossible to change anything for a user.
        Returns:
        true if read-only mode enabled, false otherwise