Class RoleDescriptionSection
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.eclipse.ui.forms.widgets.ExpandableComposite
org.eclipse.ui.forms.widgets.Section
com._1c.g5.v8.dt.rights.ui.sections.RoleDescriptionSection
- All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable
- Direct Known Subclasses:
RoleExtensionDescriptionSection
public class RoleDescriptionSection
extends org.eclipse.ui.forms.widgets.Section
Restriction access section.
-
Field Summary
Fields inherited from class org.eclipse.ui.forms.widgets.Section
DESCRIPTIONFields inherited from class org.eclipse.ui.forms.widgets.ExpandableComposite
CLIENT_INDENT, clientVerticalSpacing, COMPACT, descriptionVerticalSpacing, EXPANDED, FOCUS_TITLE, GAP, LEFT_TEXT_CLIENT_ALIGNMENT, marginHeight, marginWidth, NO_TITLE, NO_TITLE_FOCUS_BOX, SHORT_TITLE_BAR, textLabel, TITLE_BAR, titleBarTextMarginWidth, toggle, TREE_NODE, TWISTIE, VGAPFields inherited from class org.eclipse.swt.widgets.Control
handle -
Constructor Summary
ConstructorsConstructorDescriptionRoleDescriptionSection(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.swt.widgets.Composite parent, boolean isRoleAdopted, IRightsEditorController controller, IModelEditingSupport modelEditingSupport) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCalled after the rights viewer content was created and the viewer initialization was finished.protected voidCalled before the rights viewer content was created and the viewer initialization was finished.voidCreates section content.protected StringGets the label of the 'SetRightsForAttributesByDefault' button.protected StringGets the label of the 'SetRightsForNewObjects' button.Methods inherited from class org.eclipse.ui.forms.widgets.Section
getDescription, getDescriptionControl, getSeparatorControl, getTitleBarBackground, getTitleBarBorderColor, getTitleBarGradientBackground, internalSetExpanded, onPaint, reflow, setBackground, setBackgroundImage, setDescription, setDescriptionControl, setForeground, setSeparatorControl, setTitleBarBackground, setTitleBarBorderColor, setTitleBarGradientBackgroundMethods inherited from class org.eclipse.ui.forms.widgets.ExpandableComposite
addExpansionListener, computeSize, forceFocus, getClient, getExpansionStyle, getText, getTextClient, getTextClientHeightDifference, getTitleBarForeground, hasTitleBar, isExpanded, isFixedStyle, removeExpansionListener, setActiveToggleColor, setClient, setEnabled, setExpanded, setExpanded, setFont, setLayout, setMenu, setText, setTextClient, setTitleBarForeground, setToggleColor, setToolTipTextMethods inherited from class org.eclipse.swt.widgets.Canvas
drawBackground, getCaret, getIME, scroll, setCaret, setIMEMethods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayoutDeferred, setTabList, toStringMethods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBarMethods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBounds, setBounds, setCapture, setCursor, setDragDetect, setLayoutData, setLocation, setLocation, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateMethods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.swt.graphics.Drawable
isAutoScalable
-
Constructor Details
-
RoleDescriptionSection
public RoleDescriptionSection(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.swt.widgets.Composite parent, boolean isRoleAdopted, IRightsEditorController controller, IModelEditingSupport modelEditingSupport) Constructor.- Parameters:
managedForm- the managed form, can not benullobjectsSection- the object section, can not benullisRoleAdopted- tells whether the role is adoptedparent- the parent, can not benullcontroller- the controller, can not benullmodelEditingSupport- the model editing support, can not benull
-
-
Method Details
-
createClient
public void createClient()Creates section content. -
getLabelOfSetRightsForAttributesByDefaultButton
Gets the label of the 'SetRightsForAttributesByDefault' button.- Returns:
- the label, can not be
null
-
getLabelOfSetRightsForNewObjectsButton
Gets the label of the 'SetRightsForNewObjects' button.- Returns:
- the label, can not be
null
-
beforeRightsViewerInizialized
protected void beforeRightsViewerInizialized()Called before the rights viewer content was created and the viewer initialization was finished. -
afterRightsViewerInizialized
protected void afterRightsViewerInizialized()Called after the rights viewer content was created and the viewer initialization was finished.
-