Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 113354 Details for
Bug 248424
[hotbug] Should be able to skip opening the editor after JSP creation using NewJSPWizard
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch for setOpenEditorOnFinish
NewJSPWizardSet.patch (text/plain), 1.29 KB, created by
kiril mitov
on 2008-09-24 09:00:18 EDT
(
hide
)
Description:
Patch for setOpenEditorOnFinish
Filename:
MIME Type:
Creator:
kiril mitov
Created:
2008-09-24 09:00:18 EDT
Size:
1.29 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.jsp.ui >Index: src/org/eclipse/jst/jsp/ui/internal/wizard/NewJSPWizard.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.jst.jsp.ui/src/org/eclipse/jst/jsp/ui/internal/wizard/NewJSPWizard.java,v >retrieving revision 1.10 >diff -u -r1.10 NewJSPWizard.java >--- src/org/eclipse/jst/jsp/ui/internal/wizard/NewJSPWizard.java 28 Feb 2008 05:51:28 -0000 1.10 >+++ src/org/eclipse/jst/jsp/ui/internal/wizard/NewJSPWizard.java 24 Sep 2008 12:58:15 -0000 >@@ -43,6 +43,12 @@ > private NewJSPTemplatesWizardPage fNewFileTemplatesPage; > private IStructuredSelection fSelection; > >+ private boolean openEditorOnFinish = true; >+ >+ public void setOpenEditorOnFinish(boolean openEditor) { >+ this.openEditorOnFinish = openEditor; >+ } >+ > public void addPages() { > fNewFilePage = new NewJSPFileWizardPage("JSPWizardNewFileCreationPage", new StructuredSelection(IDE.computeSelectedResources(fSelection))); //$NON-NLS-1$ > fNewFilePage.setTitle(JSPUIMessages._UI_WIZARD_NEW_HEADING); >@@ -135,7 +141,8 @@ > } > > // open the file in editor >- openEditor(file); >+ if (openEditorOnFinish) >+ openEditor(file); > > // everything's fine > performedOK = true;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 248424
: 113354