commit | 9d9f6252924b3adcf789db51db8f6238347ca3f5 | [log] [tgz] |
---|---|---|
author | Thomas Schindl <tschindl> | Tue Apr 26 14:30:20 2011 +0000 |
committer | Thomas Schindl <tschindl> | Tue Apr 26 14:30:20 2011 +0000 |
tree | 8e6d5bd1acc2fe3a978656d5e29bbf911a5fc92f | |
parent | b5ca1233b5ecaa4cfdaa0d2fa82d68c1af7a6c36 [diff] |
Bug 343850 - [Tooling] NPE in model editor
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/PartStackEditor.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/PartStackEditor.java index b46d543..ae737f2 100644 --- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/PartStackEditor.java +++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/PartStackEditor.java
@@ -272,7 +272,7 @@ } }); childrenDropDown.setInput(new EClass[] { BasicPackageImpl.Literals.PART, BasicPackageImpl.Literals.INPUT_PART, AdvancedPackageImpl.Literals.PLACEHOLDER }); - childrenDropDown.setSelection(new StructuredSelection(BasicPackageImpl.Literals.PART_SASH_CONTAINER)); + childrenDropDown.setSelection(new StructuredSelection(BasicPackageImpl.Literals.PART)); b = new Button(buttonComp, SWT.PUSH | SWT.FLAT); b.setImage(createImage(ResourceProvider.IMG_Obj16_table_add));