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/listeners/PropertyChangeListener.java')
-rw-r--r--core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/listeners/PropertyChangeListener.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/listeners/PropertyChangeListener.java b/core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/listeners/PropertyChangeListener.java
new file mode 100644
index 00000000000..7d6bc186957
--- /dev/null
+++ b/core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/listeners/PropertyChangeListener.java
@@ -0,0 +1,28 @@
+/*****************************************************************************
+ * 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.listeners;
+
+import org.eclipse.papyrus.tabbedproperties.core.forms.PropertyEditor;
+
+/**
+ * A listener used to listen to property change in the editor.
+ */
+public interface PropertyChangeListener<PropertyType> {
+
+ /**
+ * @param editor
+ * @param newValue
+ */
+ public void propertyChanged(PropertyEditor editor, PropertyType newValue);
+}

Back to the top