📄 currentuserview.java
字号:
// 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: CurrentUserView.java
package fileexplorer.views;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.*;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IViewSite;
import org.eclipse.ui.part.ViewPart;
public class CurrentUserView extends ViewPart
{
public CurrentUserView()
{
}
public void createPartControl(Composite parent)
{
Composite container = new Composite(parent, 0);
container.setLayout(new GridLayout(1, false));
container.setBackground(container.getDisplay().getSystemColor(13));
Group group = new Group(container, 0);
group.setBackground(container.getDisplay().getSystemColor(13));
group.setBounds(0, 0, 250, 346);
group.setText("\u7528\u6237\u4FE1\u606F");
group.setLayoutData(new GridData(1808));
group.setLayout(new GridLayout(1, false));
Label label = new Label(group, 0);
label.setText("\u7528\u6237ID:");
label.setBackground(container.getDisplay().getSystemColor(13));
text = new Text(group, 2048);
text.setLayoutData(new GridData(768));
text.setText("");
Label label_1 = new Label(group, 0);
label_1.setText("\u7528\u6237\u6743\u9650\uFF1A");
label_1.setBackground(group.getDisplay().getSystemColor(13));
text_1 = new Text(group, 2048);
text_1.setText("");
text_1.setLayoutData(new GridData(768));
Button button = new Button(group, 0x800000);
button.setText("\u5207\u6362\u7528\u6237");
GridData griddata = new GridData(16384, 1024, false, false);
griddata.widthHint = 70;
griddata.heightHint = 25;
button.setLayoutData(griddata);
createActions();
initializeToolBar();
initializeMenu();
}
private void createActions()
{
}
private void initializeToolBar()
{
org.eclipse.jface.action.IToolBarManager toolbarManager = getViewSite().getActionBars().getToolBarManager();
}
private void initializeMenu()
{
org.eclipse.jface.action.IMenuManager menuManager = getViewSite().getActionBars().getMenuManager();
}
public void setFocus()
{
}
private Text text_1;
private Text text;
public static final String ID = "fileexplorer.views.CurrentUserView";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -