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 108394 Details for
Bug 116469
[UI] Java facet needs install page for source and output dir config
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 EJB tooling
patch-116469-ejb-proj.txt (text/plain), 3.17 KB, created by
Konstantin Komissarchik
on 2008-07-24 16:18:53 EDT
(
hide
)
Description:
Patch for EJB tooling
Filename:
MIME Type:
Creator:
Konstantin Komissarchik
Created:
2008-07-24 16:18:53 EDT
Size:
3.17 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.ejb.ui >Index: ejb_ui/org/eclipse/jst/ejb/ui/project/facet/EjbFacetInstallPage.java >=================================================================== >RCS file: /cvsroot/webtools/ejbtools/plugins/org.eclipse.jst.ejb.ui/ejb_ui/org/eclipse/jst/ejb/ui/project/facet/EjbFacetInstallPage.java,v >retrieving revision 1.9 >diff -u -r1.9 EjbFacetInstallPage.java >--- ejb_ui/org/eclipse/jst/ejb/ui/project/facet/EjbFacetInstallPage.java 10 Nov 2007 00:27:19 -0000 1.9 >+++ ejb_ui/org/eclipse/jst/ejb/ui/project/facet/EjbFacetInstallPage.java 24 Jul 2008 20:05:18 -0000 >@@ -33,8 +33,6 @@ > > private static final String MODULE_NAME_UI = J2EEUIMessages.getResourceString(J2EEUIMessages.NAME_LABEL); > >- private Text configFolder; >- private Label configFolderLabel; > protected Button addClient; > protected Text clientNameText = null; > private Label clientJarURILabel; >@@ -58,15 +56,6 @@ > > //setupEarControl(composite); > >- this.configFolderLabel = new Label(composite, SWT.NONE); >- this.configFolderLabel.setText(J2EEUIMessages.getResourceString(J2EEUIMessages.SOURCEFOLDER)); >- this.configFolderLabel.setLayoutData(gdhfill()); >- >- this.configFolder = new Text(composite, SWT.BORDER); >- this.configFolder.setLayoutData(gdhfill()); >- this.configFolder.setData("label", this.configFolderLabel); //$NON-NLS-1$ >- synchHelper.synchText(configFolder, CONFIG_FOLDER, null); >- > createEJBClientGroup( composite ); > createProjectNameGroup( composite ); > createClientJarURISection( composite ); >#P org.eclipse.jst.j2ee.ejb >Index: ejbcreation/org/eclipse/jst/j2ee/internal/ejb/project/operations/EjbFacetInstallDataModelProvider.java >=================================================================== >RCS file: /cvsroot/webtools/ejbtools/plugins/org.eclipse.jst.j2ee.ejb/ejbcreation/org/eclipse/jst/j2ee/internal/ejb/project/operations/EjbFacetInstallDataModelProvider.java,v >retrieving revision 1.27 >diff -u -r1.27 EjbFacetInstallDataModelProvider.java >--- ejbcreation/org/eclipse/jst/j2ee/internal/ejb/project/operations/EjbFacetInstallDataModelProvider.java 16 Apr 2008 09:57:29 -0000 1.27 >+++ ejbcreation/org/eclipse/jst/j2ee/internal/ejb/project/operations/EjbFacetInstallDataModelProvider.java 24 Jul 2008 20:05:19 -0000 >@@ -12,7 +12,9 @@ > > import java.util.Set; > >+import org.eclipse.core.runtime.IPath; > import org.eclipse.core.runtime.IStatus; >+import org.eclipse.core.runtime.Path; > import org.eclipse.jst.j2ee.internal.J2EEVersionConstants; > import org.eclipse.jst.j2ee.internal.plugin.IJ2EEModuleConstants; > import org.eclipse.jst.j2ee.internal.plugin.J2EEPlugin; >@@ -135,7 +137,16 @@ > } > } > model.notifyPropertyChange(CREATE_CLIENT, IDataModel.ENABLE_CHG); >- } >+ } else if (propertyName.equals(CONFIG_FOLDER)) >+ { >+ if( this.javaFacetInstallConfig != null ) >+ { >+ final IPath sourceFolder >+ = propertyValue == null ? null : new Path( (String) propertyValue ); >+ >+ this.javaFacetInstallConfig.setSourceFolder( sourceFolder ); >+ } >+ } > > return status; > }
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 116469
: 108394