diff options
author | Pierre-Charles David | 2017-05-30 14:34:19 +0000 |
---|---|---|
committer | Pierre-Charles David | 2017-05-30 14:51:06 +0000 |
commit | 17f118e8abf017cc0e34ec7b13b1ecb22b6be5f1 (patch) | |
tree | 00e297949d5569ec27a36d2b7db7378249255f20 | |
parent | 77fb9715d379ad2d358b831360620883fbbfa0d6 (diff) | |
download | org.eclipse.sirius-17f118e8abf017cc0e34ec7b13b1ecb22b6be5f1.tar.gz org.eclipse.sirius-17f118e8abf017cc0e34ec7b13b1ecb22b6be5f1.tar.xz org.eclipse.sirius-17f118e8abf017cc0e34ec7b13b1ecb22b6be5f1.zip |
[510040] Make sure RepresentationSelectionWizardPage is always fully initialized
Bug: 510040
Change-Id: Idebfa8ec165067379ba0888bc039e921d9b75ce2
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
-rw-r--r-- | plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/wizards/pages/RepresentationSelectionWizardPage.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/wizards/pages/RepresentationSelectionWizardPage.java b/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/wizards/pages/RepresentationSelectionWizardPage.java index 123325fa97..e5c1136245 100644 --- a/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/wizards/pages/RepresentationSelectionWizardPage.java +++ b/plugins/org.eclipse.sirius.ui/src/org/eclipse/sirius/ui/tools/internal/wizards/pages/RepresentationSelectionWizardPage.java @@ -95,9 +95,9 @@ public class RepresentationSelectionWizardPage extends WizardPage { */ public RepresentationSelectionWizardPage(final Session root) { super(Messages.RepresentationSelectionWizardPage_title); - this.setTitle(Messages.RepresentationSelectionWizardPage_title); - this.session = root; + setTitle(Messages.RepresentationSelectionWizardPage_title); setMessage(Messages.RepresentationSelectionWizardPage_message); + this.session = root; } /** @@ -110,10 +110,7 @@ public class RepresentationSelectionWizardPage extends WizardPage { * The representation descriptor that should be selected by default when opening the page. */ public RepresentationSelectionWizardPage(Session theSession, RepresentationDescriptionItemImpl theRepresentationDescriptionItem) { - super(Messages.RepresentationSelectionWizardPage_title); - this.setTitle(Messages.RepresentationSelectionWizardPage_title); - this.session = theSession; - setMessage(Messages.RepresentationSelectionWizardPage_message); + this(theSession); representationDescriptionItem = theRepresentationDescriptionItem; } @@ -128,8 +125,7 @@ public class RepresentationSelectionWizardPage extends WizardPage { * page. */ public RepresentationSelectionWizardPage(Session theSession, EObject theSemanticSelection) { - super(Messages.RepresentationSelectionWizardPage_title); - this.session = theSession; + this(theSession); this.semanticElement = theSemanticSelection; } |