Package com.e1c.g5.v8.dt.gsw.ui
Class BasicObjectsSection
- java.lang.Object
-
- com.e1c.g5.v8.dt.gsw.ui.BasicObjectsSection
-
public class BasicObjectsSection extends Object
Generation settings constructor basic objects section. Displays objects attributes in a attribute section.
-
-
Constructor Summary
Constructors Constructor Description BasicObjectsSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivateAttributeTreeSearch()Activate search box for object attribute treevoidactivateBasicTreeSearch()Activate search box for basic objects treevoidaddBasicObject()Add new basic object to creating object.voidcollapseAll()Realized collapse all actionvoidcreateBasicbjectSection(org.eclipse.swt.widgets.Composite parent, BasicDbObject creatingObject, Configuration configuration, IBmModelManager manager, boolean canEdit)Сreates a basic objects section.voidexpandAll()Realized expand all actionbooleangetAttributesSortEnabled()Return enabled sortTreeViewergetAttributeTreeViewer()Returns attributeTreebooleangetBasicSortEnabled()Return enabled sortTreeViewergetBasicTreeViewer()Returns basicObjectsTreevoidsetAttributesSortEnabled(boolean isSortEnabled)Set enabled sortvoidsetBasicSortEnabled(boolean isSortEnabled)Set enabled sortvoidsetCreatingObjectSection(CreatingObjectSection creatingObjectSection)Sets creating object section
-
-
-
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 benullcreatingObject- - object for which the movements constructor opens,cannot benullconfiguration- - current configuration , cannot benullmanager- - current big model manager , cannot benullcanEdit- - if creating object can edittrue, elsefalse
-
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.
-
-