?? explorerrightkeyactiongroup.java
字號(hào):
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: ExplorerRightKeyActionGroup.java
package fileexplorer.action;
import org.eclipse.jface.action.*;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.ui.actions.ActionGroup;
public class ExplorerRightKeyActionGroup extends ActionGroup
{
private class NewFolderAction extends Action
{
public void run()
{
}
final ExplorerRightKeyActionGroup this$0;
public NewFolderAction()
{
this$0 = ExplorerRightKeyActionGroup.this;
super();
setText(" \u65B0\u5EFA");
}
}
private class CopyAction extends Action
{
public void run()
{
}
final ExplorerRightKeyActionGroup this$0;
public CopyAction()
{
this$0 = ExplorerRightKeyActionGroup.this;
super();
setText(" \u590D\u5236");
}
}
private class PlasteAction extends Action
{
public void run()
{
}
final ExplorerRightKeyActionGroup this$0;
public PlasteAction()
{
this$0 = ExplorerRightKeyActionGroup.this;
super();
setText(" \u7C98\u8D34");
}
}
private class RefreshAction extends Action
{
public void run()
{
tv.refresh();
}
final ExplorerRightKeyActionGroup this$0;
public RefreshAction()
{
this$0 = ExplorerRightKeyActionGroup.this;
super();
setText(" \u5237\u65B0");
}
}
public ExplorerRightKeyActionGroup(TreeViewer treeViewer)
{
tv = treeViewer;
}
public void fillContextMenu(IMenuManager mgr)
{
MenuManager menuManager = (MenuManager)mgr;
menuManager.add(new CopyAction());
menuManager.add(new PlasteAction());
menuManager.add(new RefreshAction());
menuManager.add(new NewFolderAction());
Tree tree = tv.getTree();
org.eclipse.swt.widgets.Menu menu = menuManager.createContextMenu(tree);
tree.setMenu(menu);
}
private TreeViewer tv;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -