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 void
activateAttributeTreeSearch()
Activate search box for object attribute treevoid
activateBasicTreeSearch()
Activate search box for basic objects treevoid
addBasicObject()
Add new basic object to creating object.void
collapseAll()
Realized collapse all actionvoid
createBasicbjectSection(org.eclipse.swt.widgets.Composite parent, BasicDbObject creatingObject, Configuration configuration, IBmModelManager manager, boolean canEdit)
Сreates a basic objects section.void
expandAll()
Realized expand all actionboolean
getAttributesSortEnabled()
Return enabled sortTreeViewer
getAttributeTreeViewer()
Returns attributeTreeboolean
getBasicSortEnabled()
Return enabled sortTreeViewer
getBasicTreeViewer()
Returns basicObjectsTreevoid
setAttributesSortEnabled(boolean isSortEnabled)
Set enabled sortvoid
setBasicSortEnabled(boolean isSortEnabled)
Set enabled sortvoid
setCreatingObjectSection(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 benull
creatingObject
- - object for which the movements constructor opens,cannot benull
configuration
- - current configuration , cannot benull
manager
- - current big model manager , cannot benull
canEdit
- - if creating object can edittrue
, 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.
-
-