Class RestrictionAccessSection
- 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.RestrictionAccessSection
-
- All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable
public class RestrictionAccessSection extends org.eclipse.ui.forms.widgets.Section
Restriction access section.
-
-
Field Summary
-
Fields 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, VGAP
-
-
Constructor Summary
Constructors Constructor Description RestrictionAccessSection(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.IWorkbenchPartSite site, IRightsEditorController controller, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider)
Configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Right
getSelectedRight()
Gets selected right.Rls
getSelectedRls()
Gets selected rls.void
init(Set<Right> cruds, TreeViewerItem item)
Inits section data.void
refreshAsync(Right right, List<Rls> rlss)
Refreshes right and set new rls input and selects rlsvoid
refreshViewerItemAsync(Right right, Rls rls)
Refreshes selected right and rls async.-
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, setTitleBarGradientBackground
-
Methods 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, setFont, setLayout, setMenu, setText, setTextClient, setTitleBarForeground, setToggleColor, setToolTipText
-
Methods inherited from class org.eclipse.swt.widgets.Canvas
drawBackground, getCaret, getIME, scroll, setCaret, setIME
-
Methods 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
-
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
-
Methods 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, update
-
Methods 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, setData, toString
-
-
-
-
Constructor Detail
-
RestrictionAccessSection
public RestrictionAccessSection(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.IWorkbenchPartSite site, IRightsEditorController controller, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider)
Configuration.- Parameters:
managedForm
- the managed form, can not benull
parent
- the parent, can not benull
site
- the editor site, can not benull
controller
- the controller, can not benull
qualifiedNameProvider
- the qualified name provider, can not benull
-
-
Method Detail
-
getSelectedRight
public Right getSelectedRight()
Gets selected right.- Returns:
- the right
-
getSelectedRls
public Rls getSelectedRls()
Gets selected rls.- Returns:
- the rls
-
init
public void init(Set<Right> cruds, TreeViewerItem item)
Inits section data.- Parameters:
cruds
- the crud rightsitem
- the selected item
-
refreshAsync
public void refreshAsync(Right right, List<Rls> rlss)
Refreshes right and set new rls input and selects rls- Parameters:
right
- the rightrlss
- te rlss
-
-