Class BasicObjectsSection


  • public class BasicObjectsSection
    extends Object
    Generation settings constructor basic objects section. Displays objects attributes in a attribute section.
    • Constructor Detail

      • BasicObjectsSection

        public BasicObjectsSection()
    • Method Detail

      • createBasicbjectSection

        public void createBasicbjectSection​(org.eclipse.swt.widgets.Composite parent,
                                            BasicDbObject creatingObject,
                                            Configuration configuration,
                                            IBmModelManager manager,
                                            boolean canEdit)
        Сreates a basic objects section.
        Parameters:
        parent - - external composite, cannot be null
        creatingObject - - object for which the movements constructor opens,cannot be null
        configuration - - current configuration , cannot be null
        manager - - current big model manager , cannot be null
        canEdit - - if creating object can edit true , else false
      • expandAll

        public void expandAll()
        Realized expand all action
      • collapseAll

        public void collapseAll()
        Realized collapse all action
      • getBasicTreeViewer

        public TreeViewer getBasicTreeViewer()
        Returns basicObjectsTree
        Returns:
        basicObjectsTree, may be return null, if basic objects section did not create
      • getBasicSortEnabled

        public boolean getBasicSortEnabled()
        Return enabled sort
        Returns:
        isSortEnabled
      • activateBasicTreeSearch

        public void activateBasicTreeSearch()
        Activate search box for basic objects tree
      • activateAttributeTreeSearch

        public void activateAttributeTreeSearch()
        Activate search box for object attribute tree
      • getAttributesSortEnabled

        public boolean getAttributesSortEnabled()
        Return enabled sort
        Returns:
        isSortEnabled
      • setBasicSortEnabled

        public void setBasicSortEnabled​(boolean isSortEnabled)
        Set enabled sort
        Parameters:
        isSortEnabled - - enabled sort
      • setAttributesSortEnabled

        public void setAttributesSortEnabled​(boolean isSortEnabled)
        Set enabled sort
        Parameters:
        isSortEnabled - - enabled sort
      • getAttributeTreeViewer

        public TreeViewer getAttributeTreeViewer()
        Returns attributeTree
        Returns:
        attributeTree, may be return null, if basic objects section did not create
      • setCreatingObjectSection

        public void setCreatingObjectSection​(CreatingObjectSection creatingObjectSection)
        Sets creating object section
        Parameters:
        creatingObjectSection -
      • addBasicObject

        public void addBasicObject()
        Add new basic object to creating object.