diff options
Diffstat (limited to 'plugins/infra/onefile/org.eclipse.papyrus.infra.onefile/src/org/eclipse/papyrus/infra/onefile/model/IPapyrusElement.java')
-rw-r--r-- | plugins/infra/onefile/org.eclipse.papyrus.infra.onefile/src/org/eclipse/papyrus/infra/onefile/model/IPapyrusElement.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/infra/onefile/org.eclipse.papyrus.infra.onefile/src/org/eclipse/papyrus/infra/onefile/model/IPapyrusElement.java b/plugins/infra/onefile/org.eclipse.papyrus.infra.onefile/src/org/eclipse/papyrus/infra/onefile/model/IPapyrusElement.java new file mode 100644 index 00000000000..24a93bfe147 --- /dev/null +++ b/plugins/infra/onefile/org.eclipse.papyrus.infra.onefile/src/org/eclipse/papyrus/infra/onefile/model/IPapyrusElement.java @@ -0,0 +1,26 @@ +package org.eclipse.papyrus.infra.onefile.model; + +import org.eclipse.core.resources.IProject; + +/** + * Basic operations for Papyrus Model Elements + * + * @author tristan.faure@atosorigin.com + * + */ +public interface IPapyrusElement { + /** + * Return the text displayed for the {@link IPapyrusFile} + * + * @return + */ + String getText(); + + /** + * Return the project containing the {@link IPapyrusFile} + * + * @return an {@link IProject} + */ + IProject getProject(); + +} |