Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/forms/PropertyEditor.java')
-rw-r--r--core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/forms/PropertyEditor.java53
1 files changed, 53 insertions, 0 deletions
diff --git a/core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/forms/PropertyEditor.java b/core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/forms/PropertyEditor.java
new file mode 100644
index 00000000000..1d0d8bf7474
--- /dev/null
+++ b/core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/forms/PropertyEditor.java
@@ -0,0 +1,53 @@
+/*****************************************************************************
+ * Copyright (c) 2008 CEA LIST.
+ *
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.tabbedproperties.core.forms;
+
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage;
+
+/**
+ * Represent a single property Editor. Such Editor are generally bound to primitive type, not to bussiness complexe Classes.
+ */
+public interface PropertyEditor {
+
+ /**
+ */
+ public void createControls(Composite parent, TabbedPropertySheetPage aTabbedPropertySheetPage);
+
+ /**
+ * Return the associated main control.
+ */
+ // public Composite getControl();
+ /**
+ * Initialize the controls. TODO Remove this method from the interface
+ *
+ * @deprecated
+ */
+ // public void initializeControls();
+ /**
+ * @see org.eclipse.ui.views.properties.tabbed.ISection#aboutToBeShown()
+ */
+ public void aboutToBeShown();
+
+ /**
+ * @see org.eclipse.ui.views.properties.tabbed.ISection#aboutToBeHidden()
+ */
+ public void aboutToBeHidden();
+
+ /**
+ * @see org.eclipse.ui.views.properties.tabbed.ISection#dispose()
+ */
+ public void dispose();
+
+}

Back to the top