Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2012-09-18 17:31:02 -0400
committerLars Vogel2012-09-18 17:33:17 -0400
commitc56ed1a80947662eade5040499b75e1e81723261 (patch)
tree26fef1e7522297be86d26b00c6bdbd86cefa97f4
parent594898081eddcd77269612f4a4e1ccb1134a730e (diff)
downloadorg.eclipse.e4.tools-c56ed1a80947662eade5040499b75e1e81723261.tar.gz
org.eclipse.e4.tools-c56ed1a80947662eade5040499b75e1e81723261.tar.xz
org.eclipse.e4.tools-c56ed1a80947662eade5040499b75e1e81723261.zip
Bug 389848 - Per default the Eclipse 4 wizard not generate an Activator
-rw-r--r--bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/PluginContentPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/PluginContentPage.java b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/PluginContentPage.java
index 74d65d95..6a1d0e9e 100644
--- a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/PluginContentPage.java
+++ b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/project/PluginContentPage.java
@@ -8,6 +8,7 @@
* Contributors:
* IBM Corporation - initial API and implementation
* Soyatec - port to e4
+ * Lars Vogel, vogella GmbH - ongoing enhancements
*******************************************************************************/
package org.eclipse.e4.internal.tools.wizards.project;
@@ -207,7 +208,7 @@ public class PluginContentPage extends ContentPage {
IDialogSettings settings = getDialogSettings();
- fGenerateActivator = SWTFactory.createCheckButton(classGroup, PDEUIMessages.ContentPage_generate, null, (settings != null) ? !settings.getBoolean(S_GENERATE_ACTIVATOR) : true, 2);
+ fGenerateActivator = SWTFactory.createCheckButton(classGroup, PDEUIMessages.ContentPage_generate, null, false, 2);
fGenerateActivator.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
fClassLabel.setEnabled(fGenerateActivator.getSelection());
@@ -266,7 +267,6 @@ public class PluginContentPage extends ContentPage {
public void setVisible(boolean visible) {
if (visible) {
fMainPage.updateData();
- fGenerateActivator.setSelection(!fData.isSimple());
fGenerateActivator.setEnabled(!fData.isSimple());
fClassLabel.setEnabled(!fData.isSimple() && fGenerateActivator.getSelection());
fClassText.setEnabled(!fData.isSimple() && fGenerateActivator.getSelection());

Back to the top