Search in sources :

Example 16 with OpenTargetAction

use of com.cubrid.common.ui.common.action.OpenTargetAction in project cubrid-manager by CUBRID.

the class CubridQueryNavigatorView method buildToolBar.

/**
	 * Build the view toolbar
	 *
	 * @param toolBarManager IToolBarManager
	 */
protected void buildToolBar(IToolBarManager toolBarManager) {
    OpenTargetAction openObjectTabAction = (OpenTargetAction) ActionManager.getInstance().getAction(OpenTargetAction.ID);
    toolBarManager.add(openObjectTabAction);
    SwitchGroupModeAction grpSwitchAction = (SwitchGroupModeAction) ActionManager.getInstance().getAction(SwitchGroupModeAction.ID);
    grpSwitchAction.setNavigatorView(this);
    grpSwitchAction.init();
    toolBarManager.add(grpSwitchAction);
    GroupSettingAction groupSettingAction = (GroupSettingAction) ActionManager.getInstance().getAction(GroupSettingAction.ID);
    groupSettingAction.setNavigatorView(this);
    toolBarManager.add(groupSettingAction);
    ExpandTreeItemAction expandAction = (ExpandTreeItemAction) ActionManager.getInstance().getAction(ExpandTreeItemAction.ID);
    expandAction.setTargetTreeViewer(tv);
    toolBarManager.add(expandAction);
    UnExpandTreeItemAction unexpandAction = (UnExpandTreeItemAction) ActionManager.getInstance().getAction(UnExpandTreeItemAction.ID);
    unexpandAction.setTv(tv);
    toolBarManager.add(unexpandAction);
}
Also used : UnExpandTreeItemAction(com.cubrid.common.ui.common.action.UnExpandTreeItemAction) ExpandTreeItemAction(com.cubrid.common.ui.common.action.ExpandTreeItemAction) SwitchGroupModeAction(com.cubrid.common.ui.common.action.SwitchGroupModeAction) GroupSettingAction(com.cubrid.common.ui.common.action.GroupSettingAction) OpenTargetAction(com.cubrid.common.ui.common.action.OpenTargetAction) UnExpandTreeItemAction(com.cubrid.common.ui.common.action.UnExpandTreeItemAction)

Aggregations

OpenTargetAction (com.cubrid.common.ui.common.action.OpenTargetAction)16 BrokerLogParserAction (com.cubrid.common.ui.common.action.BrokerLogParserAction)2 BrokerLogTopMergeAction (com.cubrid.common.ui.common.action.BrokerLogTopMergeAction)2 ExpandTreeItemAction (com.cubrid.common.ui.common.action.ExpandTreeItemAction)2 GroupPropertyAction (com.cubrid.common.ui.common.action.GroupPropertyAction)2 GroupSettingAction (com.cubrid.common.ui.common.action.GroupSettingAction)2 SwitchGroupModeAction (com.cubrid.common.ui.common.action.SwitchGroupModeAction)2 UnExpandTreeItemAction (com.cubrid.common.ui.common.action.UnExpandTreeItemAction)2 AddUserAction (com.cubrid.common.ui.cubrid.user.action.AddUserAction)2 DeleteUserAction (com.cubrid.common.ui.cubrid.user.action.DeleteUserAction)2 EditUserAction (com.cubrid.common.ui.cubrid.user.action.EditUserAction)2 SchemaCommentInstallAction (com.cubrid.common.ui.schemacomment.action.SchemaCommentInstallAction)2 RefreshAction (com.cubrid.cubridmanager.ui.common.action.RefreshAction)2 BrokerConfOpenFileAction (com.cubrid.common.ui.common.action.BrokerConfOpenFileAction)1 ActionManager (com.cubrid.common.ui.spi.action.ActionManager)1 CubridDatabase (com.cubrid.common.ui.spi.model.CubridDatabase)1 DefaultSchemaNode (com.cubrid.common.ui.spi.model.DefaultSchemaNode)1 ICubridNode (com.cubrid.common.ui.spi.model.ICubridNode)1 RestartBrokerAction (com.cubrid.cubridmanager.ui.broker.action.RestartBrokerAction)1 ShowBrokerEnvStatusAction (com.cubrid.cubridmanager.ui.broker.action.ShowBrokerEnvStatusAction)1