📄 readonlyperspective.java
字号:
package com.s10r.manager.perspectives;import org.eclipse.ui.IPageLayout;import org.eclipse.ui.IPerspectiveFactory;import com.s10r.manager.view.LabelsView;import com.s10r.manager.view.PasswordEntryView;public class ReadOnlyPerspective implements IPerspectiveFactory{ public static final String ID = "manager_rcp.roperspective"; public void createInitialLayout(IPageLayout layout) { layout.setEditorAreaVisible(true); layout.setFixed(false); // put the passwordentryview on the open -> view "short list" layout.addPerspectiveShortcut(DefaultPerspective.ID); layout.addPerspectiveShortcut(DebugPerspective.ID); layout.addShowViewShortcut(IPageLayout.ID_PROP_SHEET); layout.addShowViewShortcut(PasswordEntryView.ID); layout.addShowViewShortcut(LabelsView.ID); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -