diff options
author | Lars Vogel | 2012-09-20 16:56:37 +0000 |
---|---|---|
committer | Lars Vogel | 2012-09-20 16:57:25 +0000 |
commit | bd7597f6437a6060cd0a62b0fef66a583f824f50 (patch) | |
tree | 993ab711add413dac1e3d2687f314206ab70fd14 | |
parent | 95b8cf1c987011f6a1b63a524999e57c1c164cd8 (diff) | |
download | org.eclipse.e4.tools-bd7597f6437a6060cd0a62b0fef66a583f824f50.tar.gz org.eclipse.e4.tools-bd7597f6437a6060cd0a62b0fef66a583f824f50.tar.xz org.eclipse.e4.tools-bd7597f6437a6060cd0a62b0fef66a583f824f50.zip |
Bug 388772 - Reduce fields in Wizard
-rw-r--r-- | bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/NewApplicationWizardPage.java | 27 |
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); } |