Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/core/org.eclipse.papyrus.properties.runtime/src/org/eclipse/papyrus/properties/runtime/controller/PropertyEditorController.java')
-rw-r--r--plugins/core/org.eclipse.papyrus.properties.runtime/src/org/eclipse/papyrus/properties/runtime/controller/PropertyEditorController.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/core/org.eclipse.papyrus.properties.runtime/src/org/eclipse/papyrus/properties/runtime/controller/PropertyEditorController.java b/plugins/core/org.eclipse.papyrus.properties.runtime/src/org/eclipse/papyrus/properties/runtime/controller/PropertyEditorController.java
index 843ea9d7d7a..372bad0d326 100644
--- a/plugins/core/org.eclipse.papyrus.properties.runtime/src/org/eclipse/papyrus/properties/runtime/controller/PropertyEditorController.java
+++ b/plugins/core/org.eclipse.papyrus.properties.runtime/src/org/eclipse/papyrus/properties/runtime/controller/PropertyEditorController.java
@@ -21,6 +21,7 @@ import org.eclipse.papyrus.properties.runtime.propertyeditor.PropertyEditorServi
import org.eclipse.papyrus.properties.runtime.propertyeditor.descriptor.IPropertyEditorDescriptor;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.services.IDisposable;
+import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory;
/**
@@ -116,9 +117,11 @@ public abstract class PropertyEditorController implements IDisposable, IProperty
/**
* {@inheritDoc}
+ *
+ * @param widgetFactory
*/
- public void createPropertyEditor(IPropertyEditorDescriptor descriptor) {
- setPropertyEditor(PropertyEditorService.getInstance().createPropertyEditor(this, descriptor.getEditorId()));
+ public void createPropertyEditor(IPropertyEditorDescriptor descriptor, TabbedPropertySheetWidgetFactory widgetFactory) {
+ setPropertyEditor(PropertyEditorService.getInstance().createPropertyEditor(this, descriptor.getEditorId(), widgetFactory));
IStatus status = initPropertyEditor(descriptor);
if(IStatus.ERROR != status.getSeverity()) {
getPropertyEditor().createContent(getComposite());

Back to the top