public abstract class AbstractOutlineViewButton extends AbstractViewButton implements IOutlineViewButton
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractOutlineViewButton.LocalOutlineViewButtonExtension<OWNER extends AbstractOutlineViewButton> |
AbstractViewButton.LocalViewButtonExtension<OWNER extends AbstractViewButton>
AbstractAction.LocalActionExtension<OWNER extends AbstractAction>, AbstractAction.P_UIFacade
IViewButton.DisplayStyle
propertySupport
PROP_DISPLAY_STYLE
HORIZONTAL_ALIGNMENT_LEFT, HORIZONTAL_ALIGNMENT_RIGHT, PROP_CONTAINER, PROP_ENABLED, PROP_HORIZONTAL_ALIGNMENT, PROP_ICON_ID, PROP_KEY_STROKE, PROP_MNEMONIC, PROP_SELECTED, PROP_TEXT, PROP_TEXT_WITH_MNEMONIC, PROP_TOOLTIP_TEXT, PROP_VIEW_ORDER, PROP_VISIBLE
Constructor and Description |
---|
AbstractOutlineViewButton(IDesktop desktop,
Class<? extends IOutline> outlineType)
call using
AbstractDesktop .this or AbstractDesktopExtension#getDelegatingDesktop() |
Modifier and Type | Method and Description |
---|---|
protected IOutlineViewButtonExtension<? extends AbstractOutlineViewButton> |
createLocalExtension() |
protected void |
execAction()
Activates the associated outline if it is not the desktop's active outline.
|
protected void |
execInitAction()
called by
AbstractAction.initAction() this way a menu can for example add/remove custom child menus |
protected boolean |
getConfiguredEnabled()
since execInitAction sets the value of this method to the value of the outline.
|
protected String |
getConfiguredText()
since execInitAction sets the value of this method to the value of the outline.
|
protected boolean |
getConfiguredVisible()
since execInitAction sets the value of this method to the value of the outline.
|
IDesktop |
getDesktop() |
IOutline |
getOutline() |
getConfiguredDisplayStyle, getDisplayStyle, initConfig, setDisplayStyle
acceptVisitor, calculateViewOrder, callInitializer, classId, combineKeyStrokes, createUIFacade, dispose, disposeInternal, doAction, doActionInternal, execDispose, execSelectionChanged, getActionId, getAllExtensions, getConfiguredHorizontalAlignment, getConfiguredIconId, getConfiguredInheritAccessibility, getConfiguredKeyStroke, getConfiguredSeparator, getConfiguredToggleAction, getConfiguredTooltipText, getConfiguredViewOrder, getContainer, getExtension, getHorizontalAlignment, getIconId, getKeyStroke, getMnemonic, getOrder, getProperty, getText, getTextWithMnemonic, getTooltipText, getUIFacade, hasProperty, initAction, interceptAction, interceptDispose, interceptInitAction, interceptInitConfig, interceptSelectionChanged, isEnabled, isEnabledGranted, isEnabledInheritAccessibility, isEnabledProcessingAction, isInheritAccessibility, isSelected, isSeparator, isThisAndParentsEnabled, isThisAndParentsVisible, isToggleAction, isVisible, isVisibleGranted, setContainerInternal, setEnabled, setEnabledGranted, setEnabledInheritAccessibility, setEnabledPermission, setEnabledProcessingAction, setHorizontalAlignment, setIconId, setInheritAccessibility, setKeyStroke, setOrder, setProperty, setSelected, setSelectedInternal, setSeparator, setText, setToggleAction, setTooltipText, setView, setVisible, setVisibleGranted, setVisiblePermission
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getSpecificPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayStyle
acceptVisitor, dispose, doAction, getActionId, getContainer, getHorizontalAlignment, getIconId, getKeyStroke, getMnemonic, getProperty, getText, getTextWithMnemonic, getTooltipText, getUIFacade, hasProperty, initAction, isEnabled, isEnabledGranted, isEnabledInheritAccessibility, isEnabledProcessingAction, isInheritAccessibility, isSelected, isSeparator, isThisAndParentsEnabled, isThisAndParentsVisible, isToggleAction, isVisible, isVisibleGranted, setContainerInternal, setEnabled, setEnabledGranted, setEnabledInheritAccessibility, setEnabledPermission, setEnabledProcessingAction, setHorizontalAlignment, setIconId, setInheritAccessibility, setKeyStroke, setProperty, setSelected, setSeparator, setText, setToggleAction, setTooltipText, setView, setVisible, setVisibleGranted, setVisiblePermission
public AbstractOutlineViewButton(IDesktop desktop, Class<? extends IOutline> outlineType)
AbstractDesktop
.this or AbstractDesktopExtension#getDelegatingDesktop()
protected void execInitAction()
AbstractAction
AbstractAction.initAction()
execInitAction
in class AbstractAction
protected void execAction()
execAction
in class AbstractAction
protected final boolean getConfiguredEnabled()
getConfiguredEnabled
in class AbstractAction
true
if the action can be selected and false
otherwiseprotected final String getConfiguredText()
getConfiguredText
in class AbstractAction
protected final boolean getConfiguredVisible()
getConfiguredVisible
in class AbstractAction
true
if the action is visible and false
otherwisepublic IDesktop getDesktop()
getDesktop
in interface IOutlineViewButton
public IOutline getOutline()
getOutline
in interface IOutlineViewButton
protected IOutlineViewButtonExtension<? extends AbstractOutlineViewButton> createLocalExtension()
createLocalExtension
in class AbstractViewButton
Copyright © 2010–2015. All rights reserved.