Package com._1c.g5.v8.dt.qw.ui.utils
Class QueryWizardTreeActions
- java.lang.Object
- 
- org.eclipse.core.commands.common.EventManager
- 
- org.eclipse.jface.action.AbstractAction
- 
- org.eclipse.jface.action.Action
- 
- com._1c.g5.v8.dt.qw.ui.utils.QueryWizardTreeActions
 
 
 
 
- 
- All Implemented Interfaces:
- org.eclipse.jface.action.IAction
 
 public class QueryWizardTreeActions extends org.eclipse.jface.action.ActionActions for query wizard
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classQueryWizardTreeActions.DefaultTreeActionsTypeType of tree actionstatic classQueryWizardTreeActions.QueryWizardSelectionAdapterDefault selection adapter for tree viewers, executing actions in transactionsstatic classQueryWizardTreeActions.ToolBarActionsTypeActions for tool bars
 - 
Constructor SummaryConstructors Constructor Description QueryWizardTreeActions(TreeViewer tree, QueryWizardTreeActions.DefaultTreeActionsType type)QueryWizardTreeActions(TreeViewer treeFrom, TreeViewer treeTo, QueryWizardTreeActions.DefaultTreeActionsType type)Move items from one tree to another
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddTreeViewerHotKey(QueryWizardControl queryWizard, TreeViewer tree, org.eclipse.jface.action.Action action, int hotkey)Add hot key for treestatic voidaddTreeViewerHotKey(QueryWizardControl queryWizard, TreeViewer tree, org.eclipse.jface.action.Action action, int hotkey, boolean needTransaction)Add hot key for treestatic org.eclipse.jface.action.ActioncreateToolBarActions(QueryWizardControl queryWizard, QueryWizardToolBarAction queryWizardToolBarAction, TreeViewer tree)Create new toolbar actionvoidrun()- 
Methods inherited from class org.eclipse.jface.action.ActionconvertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 - 
Methods inherited from class org.eclipse.jface.action.AbstractActionaddPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
 
- 
 
- 
- 
- 
Constructor Detail- 
QueryWizardTreeActionspublic QueryWizardTreeActions(TreeViewer tree, QueryWizardTreeActions.DefaultTreeActionsType type) - Parameters:
- tree- tree for changing
- type- change type
 
 - 
QueryWizardTreeActionspublic QueryWizardTreeActions(TreeViewer treeFrom, TreeViewer treeTo, QueryWizardTreeActions.DefaultTreeActionsType type) Move items from one tree to another- Parameters:
- treeFrom- tree from
- treeTo- tree too
- type- change type
 
 
- 
 - 
Method Detail- 
createToolBarActionspublic static org.eclipse.jface.action.Action createToolBarActions(QueryWizardControl queryWizard, QueryWizardToolBarAction queryWizardToolBarAction, TreeViewer tree) Create new toolbar action- Parameters:
- queryWizard- query wizard
- queryWizardToolBarAction- action
- tree- tree viewer
- Returns:
- new action
 
 - 
addTreeViewerHotKeypublic static void addTreeViewerHotKey(QueryWizardControl queryWizard, TreeViewer tree, org.eclipse.jface.action.Action action, int hotkey) Add hot key for tree- Parameters:
- queryWizard- query wizard
- tree- tree viewer
- action- action
- hotkey-
 
 - 
addTreeViewerHotKeypublic static void addTreeViewerHotKey(QueryWizardControl queryWizard, TreeViewer tree, org.eclipse.jface.action.Action action, int hotkey, boolean needTransaction) Add hot key for tree- Parameters:
- queryWizard- query wizard
- tree- tree viewer
- action- action
- hotkey-
- needTransaction- need transaction
 
 - 
runpublic void run() - Specified by:
- runin interface- org.eclipse.jface.action.IAction
- Overrides:
- runin class- org.eclipse.jface.action.Action
 
 
- 
 
-