Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.e4.tools/src/org/eclipse')
-rw-r--r--bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/classes/NewPartClassWizard.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/classes/NewPartClassWizard.java b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/classes/NewPartClassWizard.java
index 0154229d..a28c2d01 100644
--- a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/classes/NewPartClassWizard.java
+++ b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/classes/NewPartClassWizard.java
@@ -169,13 +169,13 @@ public class NewPartClassWizard extends AbstractNewClassWizard {
public static class PartClass extends JavaClass {
private PropertyChangeSupport support = new PropertyChangeSupport(this);
- private boolean usePostConstruct;
+ private boolean usePostConstruct = true;
private String postConstructMethodName = "postConstruct";
private boolean usePredestroy;
private String preDestroyMethodName = "preDestroy";
- private boolean useFocus = true;
+ private boolean useFocus;
private String focusMethodName = "onFocus";
private boolean usePersist;

Back to the top