Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org/eclipse/papyrus/uml/search/ui/providers/ParticipantTypeElement.java')
-rw-r--r--plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org/eclipse/papyrus/uml/search/ui/providers/ParticipantTypeElement.java106
1 files changed, 53 insertions, 53 deletions
diff --git a/plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org/eclipse/papyrus/uml/search/ui/providers/ParticipantTypeElement.java b/plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org/eclipse/papyrus/uml/search/ui/providers/ParticipantTypeElement.java
index 7243c76304a..a93094a9ebb 100644
--- a/plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org/eclipse/papyrus/uml/search/ui/providers/ParticipantTypeElement.java
+++ b/plugins/uml/org.eclipse.papyrus.uml.search.ui/src/org/eclipse/papyrus/uml/search/ui/providers/ParticipantTypeElement.java
@@ -1,53 +1,53 @@
-package org.eclipse.papyrus.uml.search.ui.providers;
-
-import org.eclipse.emf.ecore.ENamedElement;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.uml2.uml.NamedElement;
-
-
-public class ParticipantTypeElement {
-
- boolean isChecked;
-
- EObject element;
-
-
-
- public EObject getElement() {
- return element;
- }
-
-
-
- public void setElement(EObject element) {
- this.element = element;
- }
-
-
- public ParticipantTypeElement(EObject element) {
- super();
- this.element = element;
- isChecked = false;
- }
-
-
- public boolean isChecked() {
- return isChecked;
- }
-
-
- public void setChecked(boolean isChecked) {
- this.isChecked = isChecked;
- }
-
-
- public String getText() {
- if (element instanceof NamedElement) {
- return ((NamedElement) element).getName();
- } else if (element instanceof ENamedElement) {
- return ((ENamedElement) element).getName();
- }
- return null;
- }
-
-}
+package org.eclipse.papyrus.uml.search.ui.providers;
+
+import org.eclipse.emf.ecore.ENamedElement;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.uml2.uml.NamedElement;
+
+
+public class ParticipantTypeElement {
+
+ boolean isChecked;
+
+ EObject element;
+
+
+
+ public EObject getElement() {
+ return element;
+ }
+
+
+
+ public void setElement(EObject element) {
+ this.element = element;
+ }
+
+
+ public ParticipantTypeElement(EObject element) {
+ super();
+ this.element = element;
+ isChecked = false;
+ }
+
+
+ public boolean isChecked() {
+ return isChecked;
+ }
+
+
+ public void setChecked(boolean isChecked) {
+ this.isChecked = isChecked;
+ }
+
+
+ public String getText() {
+ if (element instanceof NamedElement) {
+ return ((NamedElement) element).getName();
+ } else if (element instanceof ENamedElement) {
+ return ((ENamedElement) element).getName();
+ }
+ return null;
+ }
+
+}

Back to the top