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/bridge/Extractor.java')
-rw-r--r--core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/bridge/Extractor.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/bridge/Extractor.java b/core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/bridge/Extractor.java
new file mode 100644
index 00000000000..4bf67ef646d
--- /dev/null
+++ b/core/org.eclipse.papyrus.tabbedproperties.core/src/org/eclipse/papyrus/tabbedproperties/core/bridge/Extractor.java
@@ -0,0 +1,35 @@
+/*****************************************************************************
+ * 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:
+ * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.tabbedproperties.core.bridge;
+
+import org.eclipse.uml2.uml.Element;
+
+/**
+ * this interface defines the transformation of an element into text
+ *
+ * @author Patrick Tessier
+ *
+ */
+public interface Extractor {
+
+ /**
+ * transform this part of model into text
+ *
+ * @param element
+ * the element to transform
+ * @return the string that represent the element
+ */
+ public String extract(Element element);
+
+}

Back to the top