Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2012-09-24 07:00:31 -0400
committerSopot Cela2012-09-24 07:00:31 -0400
commit4e3393818ad8c2eb1dec40ae0f2a23ee84962a5b (patch)
tree993ab711add413dac1e3d2687f314206ab70fd14
parent26870f85276c3bf9216278da3f51f51e08b0f96c (diff)
downloadorg.eclipse.e4.tools-4e3393818ad8c2eb1dec40ae0f2a23ee84962a5b.tar.gz
org.eclipse.e4.tools-4e3393818ad8c2eb1dec40ae0f2a23ee84962a5b.tar.xz
org.eclipse.e4.tools-4e3393818ad8c2eb1dec40ae0f2a23ee84962a5b.zip
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, 1 insertions, 26 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 886986f7..5ba79e57 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,6 +8,7 @@
* Contributors:
* Soyatec - initial API and implementation
* IBM Corporation - ongoing enhancements
+ * Lars Vogel, vogella GmbH - ongoing enhancements
*******************************************************************************/
package org.eclipse.e4.internal.tools.wizards.project;
@@ -57,7 +58,6 @@ public class NewApplicationWizardPage extends WizardPage {
private IProject project;
private IProjectProvider projectProvider;
private Text proNameText;
- private Text proApplicationText;
private Group propertyGroup;
private AbstractFieldData pluginData;
@@ -346,37 +346,14 @@ 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
@@ -391,8 +368,6 @@ 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