RestoreProject.java
Go to the documentation of this file.
1 package com.generalrobotix.ui.actions;
2 
3 import org.eclipse.jface.action.IAction;
4 import org.eclipse.jface.viewers.ISelection;
5 import org.eclipse.ui.IWorkbenchWindow;
6 import org.eclipse.ui.IWorkbenchWindowActionDelegate;
7 
11 
12 public class RestoreProject implements IWorkbenchWindowActionDelegate {
13  public void run(IAction action) {
15  manager_.getProjectMenu().get( GrxProjectItem.MENU_RESTORE ).run();
16  }
17 
18  public void dispose() {}
19  public void init(IWorkbenchWindow window) {}
20  public void selectionChanged(IAction action, ISelection selection) {}
21 
22 }
Vector< Action > getProjectMenu()
get project menu
void selectionChanged(IAction action, ISelection selection)
プラグイン管理クラス GrxUIの核になるクラス。プラグインのロード等の、初期化を実行する。 プラグインとそ...
org


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:25