use of org.eclipse.ui.actions.MoveResourceAction in project translationstudio8 by heartsome.
the class RefactorActionGroup method makeActions.
protected void makeActions() {
IShellProvider sp = new IShellProvider() {
public Shell getShell() {
return shell;
}
};
moveAction = new MoveResourceAction(sp);
moveAction.setText(WorkbenchNavigatorMessages.actions_RefactorActionGroup_moveAction);
moveAction.setActionDefinitionId(IWorkbenchCommandConstants.FILE_MOVE);
renameAction = new RenameResourceAndCloseEditorAction(sp, tree);
renameAction.setText(WorkbenchNavigatorMessages.actions_RefactorActionGroup_renameAction);
renameAction.setActionDefinitionId(IWorkbenchCommandConstants.FILE_RENAME);
}
Aggregations