Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/src/org/eclipse/papyrus/gmf/codegen/gmfgen/GenFloatingLabel.java')
-rw-r--r--plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/src/org/eclipse/papyrus/gmf/codegen/gmfgen/GenFloatingLabel.java116
1 files changed, 116 insertions, 0 deletions
diff --git a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/src/org/eclipse/papyrus/gmf/codegen/gmfgen/GenFloatingLabel.java b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/src/org/eclipse/papyrus/gmf/codegen/gmfgen/GenFloatingLabel.java
new file mode 100644
index 00000000000..ec9de6e9241
--- /dev/null
+++ b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/src/org/eclipse/papyrus/gmf/codegen/gmfgen/GenFloatingLabel.java
@@ -0,0 +1,116 @@
+/**
+ * Copyright (c) 2006, 2015, 2020, 2021 Borland Software Corporation, CEA LIST, ARTAL
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Borland - Initial API and implementation for code duplicated from gmf tooling repository
+ * CEA LIST - Initial API and implementation for code from Papyrus gmfgenextension
+ * Aurelien Didier (ARTAL) - aurelien.didier51@gmail.com - Bug 569174
+ */
+package org.eclipse.papyrus.gmf.codegen.gmfgen;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Gen Floating Label</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * This element is always linked with link Label and External Node Label.
+ * role : the role of the Label (Stereotype, Source Multiplicity, Target Multiplicity, Name, ...)
+ * iconPath : an icon illustrating the role of the Label
+ * visibleByDefault : if false, the label is not visible when the element is created
+ *
+ * These informations are used by the action Show/Hide Label.
+ * Bug 569174 : from LabelVisibilityPreference
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.papyrus.gmf.codegen.gmfgen.GenFloatingLabel#getRole <em>Role</em>}</li>
+ * <li>{@link org.eclipse.papyrus.gmf.codegen.gmfgen.GenFloatingLabel#getIconPathRole <em>Icon Path Role</em>}</li>
+ * <li>{@link org.eclipse.papyrus.gmf.codegen.gmfgen.GenFloatingLabel#isVisibleByDefault <em>Visible By Default</em>}</li>
+ * </ul>
+ *
+ * @see org.eclipse.papyrus.gmf.codegen.gmfgen.GMFGenPackage#getGenFloatingLabel()
+ * @model
+ * @generated
+ */
+public interface GenFloatingLabel extends EObject {
+ /**
+ * Returns the value of the '<em><b>Role</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Role</em>' attribute.
+ * @see #setRole(String)
+ * @see org.eclipse.papyrus.gmf.codegen.gmfgen.GMFGenPackage#getGenFloatingLabel_Role()
+ * @model required="true"
+ * @generated
+ */
+ String getRole();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.gmf.codegen.gmfgen.GenFloatingLabel#getRole <em>Role</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Role</em>' attribute.
+ * @see #getRole()
+ * @generated
+ */
+ void setRole(String value);
+
+ /**
+ * Returns the value of the '<em><b>Icon Path Role</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Icon Path Role</em>' attribute.
+ * @see #setIconPathRole(String)
+ * @see org.eclipse.papyrus.gmf.codegen.gmfgen.GMFGenPackage#getGenFloatingLabel_IconPathRole()
+ * @model
+ * @generated
+ */
+ String getIconPathRole();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.gmf.codegen.gmfgen.GenFloatingLabel#getIconPathRole <em>Icon Path Role</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Icon Path Role</em>' attribute.
+ * @see #getIconPathRole()
+ * @generated
+ */
+ void setIconPathRole(String value);
+
+ /**
+ * Returns the value of the '<em><b>Visible By Default</b></em>' attribute.
+ * The default value is <code>"true"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Visible By Default</em>' attribute.
+ * @see #setVisibleByDefault(boolean)
+ * @see org.eclipse.papyrus.gmf.codegen.gmfgen.GMFGenPackage#getGenFloatingLabel_VisibleByDefault()
+ * @model default="true"
+ * @generated
+ */
+ boolean isVisibleByDefault();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.papyrus.gmf.codegen.gmfgen.GenFloatingLabel#isVisibleByDefault <em>Visible By Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Visible By Default</em>' attribute.
+ * @see #isVisibleByDefault()
+ * @generated
+ */
+ void setVisibleByDefault(boolean value);
+
+} // GenFloatingLabel

Back to the top