Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8c3358e

Browse files
committed
Remove support of fast view completely
1 parent5dcd269 commit8c3358e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎sources/net.sf.j2s.ui/src/net/sf/j2s/ui/launching/J2SApplicationRunnable.java‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
importorg.eclipse.jface.preference.IPreferenceStore;
1313
importorg.eclipse.swt.program.Program;
1414
importorg.eclipse.ui.IViewPart;
15-
importorg.eclipse.ui.IViewReference;
15+
//import org.eclipse.ui.IViewReference;
1616
importorg.eclipse.ui.IWorkbenchPage;
1717
importorg.eclipse.ui.PartInitException;
1818
importorg.eclipse.ui.actions.ActionFactory;
1919
importorg.eclipse.ui.actions.ActionFactory.IWorkbenchAction;
20-
importorg.eclipse.ui.internal.WorkbenchPage;
20+
//import org.eclipse.ui.internal.WorkbenchPage;
2121

2222
publicclassJ2SApplicationRunnableimplementsRunnable {
2323
ILaunchConfigurationconfiguration;
@@ -30,7 +30,7 @@ public J2SApplicationRunnable(ILaunchConfiguration configuration, String url) {
3030

3131
publicvoidrun() {
3232
booleanisToViewInConsole =true;
33-
booleanisViewFast =false;
33+
//boolean isViewFast = false;
3434
booleanisViewMaximize =false;
3535
try {
3636
IPreferenceStorestore =Java2ScriptUIPlugin.getDefault().getPreferenceStore();
@@ -41,8 +41,8 @@ public void run() {
4141
IJ2SLauchingConfiguration.VIEW_IN_INNER_J2S_CONSOLE,preferred);
4242
isViewMaximize =configuration.getAttribute(
4343
IJ2SLauchingConfiguration.MAXIMIZE_J2S_CONSOLE,false);
44-
isViewFast =configuration.getAttribute(
45-
IJ2SLauchingConfiguration.FAST_VIEW_J2S_CONSOLE,false);
44+
//isViewFast = configuration.getAttribute(
45+
//IJ2SLauchingConfiguration.FAST_VIEW_J2S_CONSOLE, false);
4646
}catch (CoreExceptione1) {
4747
e1.printStackTrace();
4848
}
@@ -80,9 +80,9 @@ public void run() {
8080
J2SConsoleViewj2sConsole = (J2SConsoleView)console;
8181
IWorkbenchPagepage =j2sConsole.getViewSite().getWorkbenchWindow()
8282
.getActivePage();
83-
WorkbenchPagewp = (WorkbenchPage)page;
84-
IViewReferenceref =wp
85-
.findViewReference("net.sf.j2s.ui.console.J2SConsoleView");
83+
//WorkbenchPage wp = (WorkbenchPage) page;
84+
//IViewReference ref = wp
85+
//.findViewReference("net.sf.j2s.ui.console.J2SConsoleView");
8686
//if (isViewFast && !wp.isFastView(ref)) {
8787
//wp.addFastView(ref);
8888
//}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp