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 65096 Details for
Bug 167582
UCD: Code Genereation Wizard: Add memory combo box for project selection
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]
A patch for the problem described
167582.patch (text/plain), 3.21 KB, created by
Andrew Eberbach
on 2007-04-26 15:37:50 EDT
(
hide
)
Description:
A patch for the problem described
Filename:
MIME Type:
Creator:
Andrew Eberbach
Created:
2007-04-26 15:37:50 EDT
Size:
3.21 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.wsdm.editor >Index: src/org/eclipse/tptp/wsdm/tooling/codegen/mrt/provisional/GenerationOptionsPage.java >=================================================================== >RCS file: /cvsroot/tptp/monitoring/org.eclipse.tptp.wsdm.editor/src/org/eclipse/tptp/wsdm/tooling/codegen/mrt/provisional/GenerationOptionsPage.java,v >retrieving revision 1.8 >diff -u -r1.8 GenerationOptionsPage.java >--- src/org/eclipse/tptp/wsdm/tooling/codegen/mrt/provisional/GenerationOptionsPage.java 25 Apr 2007 18:36:03 -0000 1.8 >+++ src/org/eclipse/tptp/wsdm/tooling/codegen/mrt/provisional/GenerationOptionsPage.java 26 Apr 2007 19:35:01 -0000 >@@ -14,6 +14,7 @@ > > import java.util.HashMap; > import java.util.Map; >+import java.util.prefs.Preferences; > > import org.apache.muse.tools.generator.analyzer.Analyzer; > import org.apache.muse.tools.generator.projectizer.Projectizer; >@@ -53,6 +54,7 @@ > import org.eclipse.swt.widgets.Listener; > import org.eclipse.swt.widgets.Text; > import org.eclipse.tptp.wsdm.tooling.editor.internal.Activator; >+import org.eclipse.tptp.wsdm.tooling.editor.mrt.relationship.dialog.internal.MemoryComboBox; > import org.eclipse.tptp.wsdm.tooling.nls.messages.mrt.internal.Messages; > import org.eclipse.tptp.wsdm.tooling.util.internal.Validation; > >@@ -62,9 +64,11 @@ > */ > public class GenerationOptionsPage extends WizardPage > { >+ private static final String PROJECT_MEMORY_COMBO_ID = "project_memory_combo"; >+ > private Button _buttonOverwrite; > >- private Text _projectNameField; >+ private Combo _projectNameField; > > private String _userPath = Util.ZERO_LENGTH_STRING;// IDEResourceInfoUtils.EMPTY_STRING; > >@@ -166,7 +170,7 @@ > projectLabel.setFont(parent.getFont()); > > // new project name entry field >- _projectNameField = new Text(page, SWT.BORDER); >+ _projectNameField = MemoryComboBox.createMemoryComboBox(page, Preferences.userNodeForPackage(GenerationOptionsPage.class), PROJECT_MEMORY_COMBO_ID); > data = new GridData(GridData.FILL_HORIZONTAL); > data.widthHint = 50; > data.horizontalSpan = 2; >@@ -673,4 +677,8 @@ > public boolean isAxis2Project(){ > return axis2Project; > } >+ >+ public void saveCombo() { >+ MemoryComboBox.save(_projectNameField, PROJECT_MEMORY_COMBO_ID, Preferences.userNodeForPackage(GenerationOptionsPage.class)); >+ } > } >\ No newline at end of file >Index: src/org/eclipse/tptp/wsdm/tooling/codegen/mrt/provisional/NewProjectWizard.java >=================================================================== >RCS file: /cvsroot/tptp/monitoring/org.eclipse.tptp.wsdm.editor/src/org/eclipse/tptp/wsdm/tooling/codegen/mrt/provisional/NewProjectWizard.java,v >retrieving revision 1.15 >diff -u -r1.15 NewProjectWizard.java >--- src/org/eclipse/tptp/wsdm/tooling/codegen/mrt/provisional/NewProjectWizard.java 25 Apr 2007 18:36:03 -0000 1.15 >+++ src/org/eclipse/tptp/wsdm/tooling/codegen/mrt/provisional/NewProjectWizard.java 26 Apr 2007 19:35:01 -0000 >@@ -225,10 +225,13 @@ > performFinish(monitor); > } > }; >+ >+ _generationOptionsPage.saveCombo(); > > try { > getContainer().run(true, false, runnable); > openTasksView(); >+ > return true; > } catch (Exception e) { > e.printStackTrace();
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 167582
:
64996
| 65096