Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2012-09-24 05:13:27 -0400
committerLars Vogel2012-09-24 05:13:27 -0400
commit26870f85276c3bf9216278da3f51f51e08b0f96c (patch)
treeb583440a4cd83c31355a6cff4525fbf91f485603
parentbd7597f6437a6060cd0a62b0fef66a583f824f50 (diff)
downloadorg.eclipse.e4.tools-26870f85276c3bf9216278da3f51f51e08b0f96c.tar.gz
org.eclipse.e4.tools-26870f85276c3bf9216278da3f51f51e08b0f96c.tar.xz
org.eclipse.e4.tools-26870f85276c3bf9216278da3f51f51e08b0f96c.zip
Revert "Bug 388772 - Reduce fields in Wizard "
-rw-r--r--bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/NewApplicationWizardPage.java27
1 files changed, 26 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/NewApplicationWizardPage.java b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/NewApplicationWizardPage.java
index 5ba79e57..886986f7 100644
--- a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/NewApplicationWizardPage.java
+++ b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/NewApplicationWizardPage.java
@@ -8,7 +8,6 @@
* Contributors:
* Soyatec - initial API and implementation
* IBM Corporation - ongoing enhancements
- * Lars Vogel, vogella GmbH - ongoing enhancements
*******************************************************************************/
package org.eclipse.e4.internal.tools.wizards.project;
@@ -58,6 +57,7 @@ public class NewApplicationWizardPage extends WizardPage {
private IProject project;
private IProjectProvider projectProvider;
private Text proNameText;
+ private Text proApplicationText;
private Group propertyGroup;
private AbstractFieldData pluginData;
@@ -346,14 +346,37 @@ public class NewApplicationWizardPage extends WizardPage {
}
});
+ Label proApplicationLabel = new Label(proGroup, SWT.NONE);
+ proApplicationLabel.setText("Application:");
+
+ proApplicationText = new Text(proGroup, SWT.BORDER);
+ proApplicationText
+ .setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+ proApplicationText.addListener(SWT.Modify, new Listener() {
+ public void handleEvent(Event event) {
+ handleTextEvent(APPLICATION, proApplicationText);
+ }
+ });
return proGroup;
}
protected PropertyData[] getPropertyData() {
if (PROPERTIES == null) {
PROPERTIES = new PropertyData[] {
+ new PropertyData(IProductConstants.APP_NAME, "Application Name:",
+ projectProvider.getProjectName(), String.class,
+ true),
new PropertyData(APPLICATION_CSS_PROPERTY, "CSS Style:",
"css/default.css", String.class, true),
+ new PropertyData(IProductConstants.ABOUT_TEXT, "About Message:", "",
+ String.class, true),
+ new PropertyData(
+ IProductConstants.STARTUP_FOREGROUND_COLOR, "Startup Foreground:", "",
+ Color.class, false),
+ new PropertyData(IProductConstants.STARTUP_MESSAGE_RECT, "Startup Message Region:",
+ "", Rectangle.class, false),
+ new PropertyData(IProductConstants.STARTUP_PROGRESS_RECT, "Startup Progress Region:",
+ "", Rectangle.class, false),
new PropertyData(
IProductConstants.PREFERENCE_CUSTOMIZATION, "Preference Customization:", "",
String.class, true) }; // plugin_customization.ini
@@ -368,6 +391,8 @@ public class NewApplicationWizardPage extends WizardPage {
// Use the plug-in name for the product name (not project name which can contain illegal characters)
proNameText.setText(pluginData.getId());
+ proApplicationText.setText(E4_APPLICATION);
+
for (PropertyData property : getPropertyData()) {
createPropertyItem(propertyGroup, property);
}

Back to the top