diff options
Diffstat (limited to 'plugins/org.eclipse.sirius.diagram.model/src-gen/org/eclipse/sirius/diagram/description/tool/ContainerCreationDescription.java')
-rw-r--r-- | plugins/org.eclipse.sirius.diagram.model/src-gen/org/eclipse/sirius/diagram/description/tool/ContainerCreationDescription.java | 180 |
1 files changed, 180 insertions, 0 deletions
diff --git a/plugins/org.eclipse.sirius.diagram.model/src-gen/org/eclipse/sirius/diagram/description/tool/ContainerCreationDescription.java b/plugins/org.eclipse.sirius.diagram.model/src-gen/org/eclipse/sirius/diagram/description/tool/ContainerCreationDescription.java new file mode 100644 index 0000000000..07d2ed5fb1 --- /dev/null +++ b/plugins/org.eclipse.sirius.diagram.model/src-gen/org/eclipse/sirius/diagram/description/tool/ContainerCreationDescription.java @@ -0,0 +1,180 @@ +/** + * Copyright (c) 2007, 2013 THALES GLOBAL SERVICES. + * 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: + * Obeo - initial API and implementation + * + */ +package org.eclipse.sirius.diagram.description.tool; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.sirius.diagram.description.AbstractNodeMapping; +import org.eclipse.sirius.diagram.description.ContainerMapping; +import org.eclipse.sirius.viewpoint.description.tool.ContainerViewVariable; +import org.eclipse.sirius.viewpoint.description.tool.InitialNodeCreationOperation; +import org.eclipse.sirius.viewpoint.description.tool.MappingBasedToolDescription; + +/** + * <!-- begin-user-doc --> A representation of the model object ' <em><b>Container Creation Description</b></em>'. <!-- + * end-user-doc --> + * + * <!-- begin-model-doc --> Tool to create a Container (ViewNodeContainer or ViewNodeList). <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.sirius.diagram.description.tool.ContainerCreationDescription#getContainerMappings + * <em>Container Mappings</em>}</li> + * <li>{@link org.eclipse.sirius.diagram.description.tool.ContainerCreationDescription#getVariable + * <em>Variable</em>}</li> + * <li>{@link org.eclipse.sirius.diagram.description.tool.ContainerCreationDescription#getViewVariable <em>View + * Variable</em>}</li> + * <li>{@link org.eclipse.sirius.diagram.description.tool.ContainerCreationDescription#getInitialOperation <em>Initial + * Operation</em>}</li> + * <li>{@link org.eclipse.sirius.diagram.description.tool.ContainerCreationDescription#getIconPath <em>Icon + * Path</em>}</li> + * <li>{@link org.eclipse.sirius.diagram.description.tool.ContainerCreationDescription#getExtraMappings <em>Extra + * Mappings</em>}</li> + * </ul> + * + * @see org.eclipse.sirius.diagram.description.tool.ToolPackage#getContainerCreationDescription() + * @model + * @generated + */ +public interface ContainerCreationDescription extends MappingBasedToolDescription { + /** + * Returns the value of the '<em><b>Container Mappings</b></em>' reference list. The list contents are of type + * {@link org.eclipse.sirius.diagram.description.ContainerMapping}. <!-- begin-user-doc --> <!-- end-user-doc --> + * <!-- begin-model-doc --> The ContainerMapping to use. <!-- end-model-doc --> + * + * @return the value of the '<em>Container Mappings</em>' reference list. + * @see org.eclipse.sirius.diagram.description.tool.ToolPackage#getContainerCreationDescription_ContainerMappings() + * @model required="true" + * @generated + */ + EList<ContainerMapping> getContainerMappings(); + + /** + * Returns the value of the '<em><b>Variable</b></em>' containment reference. <!-- begin-user-doc --> <!-- + * end-user-doc --> <!-- begin-model-doc --> The semantic element of the cicked view. <!-- end-model-doc --> + * + * @return the value of the '<em>Variable</em>' containment reference. + * @see #setVariable(NodeCreationVariable) + * @see org.eclipse.sirius.diagram.description.tool.ToolPackage#getContainerCreationDescription_Variable() + * @model containment="true" resolveProxies="true" required="true" annotation= + * "http://www.eclipse.org/emf/2002/GenModel documentedName='container'" + * @generated + */ + NodeCreationVariable getVariable(); + + /** + * Sets the value of the + * '{@link org.eclipse.sirius.diagram.description.tool.ContainerCreationDescription#getVariable <em>Variable</em>}' + * containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Variable</em>' containment reference. + * @see #getVariable() + * @generated + */ + void setVariable(NodeCreationVariable value); + + /** + * Returns the value of the '<em><b>View Variable</b></em>' containment reference. <!-- begin-user-doc --> <!-- + * end-user-doc --> <!-- begin-model-doc --> The clicked view (instance of ViewPoint or ViewNodeContainer). <!-- + * end-model-doc --> + * + * @return the value of the '<em>View Variable</em>' containment reference. + * @see #setViewVariable(ContainerViewVariable) + * @see org.eclipse.sirius.diagram.description.tool.ToolPackage#getContainerCreationDescription_ViewVariable() + * @model containment="true" resolveProxies="true" required="true" annotation= + * "http://www.eclipse.org/emf/2002/GenModel documentedName='containerView'" + * @generated + */ + ContainerViewVariable getViewVariable(); + + /** + * Sets the value of the + * '{@link org.eclipse.sirius.diagram.description.tool.ContainerCreationDescription#getViewVariable <em>View + * Variable</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>View Variable</em>' containment reference. + * @see #getViewVariable() + * @generated + */ + void setViewVariable(ContainerViewVariable value); + + /** + * Returns the value of the '<em><b>Initial Operation</b></em>' containment reference. <!-- begin-user-doc --> <!-- + * end-user-doc --> <!-- begin-model-doc --> The first operation. <!-- end-model-doc --> + * + * @return the value of the '<em>Initial Operation</em>' containment reference. + * @see #setInitialOperation(InitialNodeCreationOperation) + * @see org.eclipse.sirius.diagram.description.tool.ToolPackage#getContainerCreationDescription_InitialOperation() + * @model containment="true" resolveProxies="true" required="true" + * @generated + */ + InitialNodeCreationOperation getInitialOperation(); + + /** + * Sets the value of the + * '{@link org.eclipse.sirius.diagram.description.tool.ContainerCreationDescription#getInitialOperation <em>Initial + * Operation</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Initial Operation</em>' containment reference. + * @see #getInitialOperation() + * @generated + */ + void setInitialOperation(InitialNodeCreationOperation value); + + /** + * Returns the value of the '<em><b>Icon Path</b></em>' attribute. The default value is <code>""</code>. <!-- + * begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> The path of the icon to display in the palette. + * If unset, the icon corresponding to the semantic element associated with the mapping will be displayed. <!-- + * end-model-doc --> + * + * @return the value of the '<em>Icon Path</em>' attribute. + * @see #setIconPath(String) + * @see org.eclipse.sirius.diagram.description.tool.ToolPackage#getContainerCreationDescription_IconPath() + * @model default="" + * @generated + */ + String getIconPath(); + + /** + * Sets the value of the + * '{@link org.eclipse.sirius.diagram.description.tool.ContainerCreationDescription#getIconPath <em>Icon Path</em>}' + * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Icon Path</em>' attribute. + * @see #getIconPath() + * @generated + */ + void setIconPath(String value); + + /** + * Returns the value of the '<em><b>Extra Mappings</b></em>' reference list. The list contents are of type + * {@link org.eclipse.sirius.diagram.description.AbstractNodeMapping}. <!-- begin-user-doc --> <!-- end-user-doc --> + * <!-- begin-model-doc --> All mappings that create views that are able to received a request to manage this + * creation + * + * <!-- end-model-doc --> + * + * @return the value of the '<em>Extra Mappings</em>' reference list. + * @see org.eclipse.sirius.diagram.description.tool.ToolPackage#getContainerCreationDescription_ExtraMappings() + * @model + * @generated + */ + EList<AbstractNodeMapping> getExtraMappings(); + +} // ContainerCreationDescription |