Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas FAUVERGUE2019-06-27 13:15:11 +0000
committerPatrick Tessier2019-08-22 09:33:31 +0000
commit608d7afe93439e73e91518094c56e8ab6cddea7f (patch)
treee8a299d35524477dc7ab4b84af543e8f9fb1ede2 /plugins
parent3303b45f5d625e65e12728c2d411b2662bd73377 (diff)
downloadorg.eclipse.papyrus-608d7afe93439e73e91518094c56e8ab6cddea7f.tar.gz
org.eclipse.papyrus-608d7afe93439e73e91518094c56e8ab6cddea7f.tar.xz
org.eclipse.papyrus-608d7afe93439e73e91518094c56e8ab6cddea7f.zip
Bug 548720: [PropertiesView] Impossible to open properties view for
'*.ctx' file The instanciation of ecoreItemProviderAdapterFactory was not managed (I think the super api changed). Change-Id: I80aec6b4e633e4b0f640855b31fdeaebc230ff4e Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.toolsmiths/src/org/eclipse/papyrus/views/properties/toolsmiths/editor/UIEditor.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.toolsmiths/src/org/eclipse/papyrus/views/properties/toolsmiths/editor/UIEditor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.toolsmiths/src/org/eclipse/papyrus/views/properties/toolsmiths/editor/UIEditor.java
index 7695b6e5d78..a9bf613121c 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.toolsmiths/src/org/eclipse/papyrus/views/properties/toolsmiths/editor/UIEditor.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.toolsmiths/src/org/eclipse/papyrus/views/properties/toolsmiths/editor/UIEditor.java
@@ -1,5 +1,5 @@
/*****************************************************************************
- * Copyright (c) 2010, 2013 CEA LIST.
+ * Copyright (c) 2010, 2013, 2019 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -11,6 +11,7 @@
* Contributors:
* Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
* Christian W. Damus (CEA) - Factor out workspace storage for pluggable storage providers (CDO)
+ * Nicolas FAUVERGUE (CEA) nicolas.fauvergue@cea.fr - Bug 548720
*****************************************************************************/
package org.eclipse.papyrus.views.properties.toolsmiths.editor;
@@ -58,9 +59,6 @@ import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.viewers.StructuredViewer;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.ViewerFilter;
-import org.eclipse.papyrus.views.properties.toolsmiths.editor.MoDiscoDropAdapter;
-import org.eclipse.papyrus.views.properties.toolsmiths.editor.ResourceEditorInput;
-import org.eclipse.papyrus.views.properties.toolsmiths.editor.ViewFilter;
import org.eclipse.papyrus.infra.properties.catalog.PropertiesURIHandler;
import org.eclipse.papyrus.infra.properties.contexts.Context;
import org.eclipse.papyrus.infra.properties.internal.ui.runtime.IInternalConfigurationManager;
@@ -491,7 +489,7 @@ public class UIEditor extends EcoreEditor implements ITabbedPropertySheetPageCon
// Create an adapter factory that yields item providers.
//
adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
-
+ ecoreItemProviderAdapterFactory = new EcoreItemProviderAdapterFactory();
adapterFactory.addAdapterFactory(new ResourceItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new EcoreItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory());

Back to the top