Package com._1c.g5.v8.dt.qw.ui.controls
Class QueryWizardToolBarAction
- java.lang.Object
-
- com._1c.g5.v8.dt.qw.ui.controls.QueryWizardToolBarAction
-
public class QueryWizardToolBarAction extends Object
Tool bar action for query wizard
-
-
Field Summary
Fields Modifier and Type Field Description org.eclipse.jface.action.Action
action
int
hotkey
QueryWizardTreeActions.ToolBarActionsType
type
boolean
withoutTransaction
-
Constructor Summary
Constructors Constructor Description QueryWizardToolBarAction(boolean withoutTransaction, QueryWizardTreeActions.ToolBarActionsType type, org.eclipse.jface.action.Action action)
QueryWizardToolBarAction(boolean withoutTransaction, QueryWizardTreeActions.ToolBarActionsType type, org.eclipse.jface.action.Action action, int hotkey)
QueryWizardToolBarAction(QueryWizardTreeActions.ToolBarActionsType type, org.eclipse.jface.action.Action action)
QueryWizardToolBarAction(QueryWizardTreeActions.ToolBarActionsType type, org.eclipse.jface.action.Action action, int hotkey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addActionForMenu(QueryWizardToolBarAction action)
Add action for menuList<QueryWizardToolBarAction>
getActionsForMenu()
Get actions for menu
-
-
-
Field Detail
-
type
public QueryWizardTreeActions.ToolBarActionsType type
-
action
public org.eclipse.jface.action.Action action
-
hotkey
public int hotkey
-
withoutTransaction
public boolean withoutTransaction
-
-
Constructor Detail
-
QueryWizardToolBarAction
public QueryWizardToolBarAction(QueryWizardTreeActions.ToolBarActionsType type, org.eclipse.jface.action.Action action)
- Parameters:
type
- - action typeaction
- - action
-
QueryWizardToolBarAction
public QueryWizardToolBarAction(boolean withoutTransaction, QueryWizardTreeActions.ToolBarActionsType type, org.eclipse.jface.action.Action action)
- Parameters:
withoutTransaction
- - run action without transactiontype
- - action typeaction
- - action
-
QueryWizardToolBarAction
public QueryWizardToolBarAction(QueryWizardTreeActions.ToolBarActionsType type, org.eclipse.jface.action.Action action, int hotkey)
- Parameters:
type
- - action typeaction
- - actionhotkey
- - hot key
-
QueryWizardToolBarAction
public QueryWizardToolBarAction(boolean withoutTransaction, QueryWizardTreeActions.ToolBarActionsType type, org.eclipse.jface.action.Action action, int hotkey)
- Parameters:
withoutTransaction
- - run action without transactiontype
- - action typeaction
- - actionhotkey
- - hot key
-
-
Method Detail
-
addActionForMenu
public void addActionForMenu(QueryWizardToolBarAction action)
Add action for menu- Parameters:
action
-
-
getActionsForMenu
public List<QueryWizardToolBarAction> getActionsForMenu()
Get actions for menu- Returns:
- menu actions
-
-