diff options
Diffstat (limited to 'bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java')
-rw-r--r-- | bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java index 90693188..65b418d4 100644 --- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java +++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java @@ -429,7 +429,7 @@ public class ModelEditor implements IGotoObject { tabItemTree.setControl(createFormTab(editorTabFolder)); tabItemTree.setImage(resourcePool.getImageUnchecked(ResourceProvider.IMG_Obj16_application_form)); - tab_list_show(preferences.getBoolean("tab-list-show", false)); //$NON-NLS-1$ + tab_list_show(true); tabItemXmi = new CTabItem(editorTabFolder, SWT.NONE); tabItemXmi.setText(messages.ModelEditor_XMI); @@ -1281,8 +1281,7 @@ public class ModelEditor implements IGotoObject { registerEditor(FragmentPackageImpl.Literals.STRING_MODEL_FRAGMENT, ContextInjectionFactory.make(StringModelFragment.class, context)); } - @Inject - public void tab_list_show(@Preference("tab-list-show") Boolean show) { + public void tab_list_show(Boolean show) { if (editorTabFolder == null) { return; } |