Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b8b79e0f17b452f74d4ac2ed71ce8e2ef6ddec2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/**
 * Copyright (c) 2014 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:
 *  CEA LIST - Initial API and implementation
 */
package org.eclipse.papyrus.dd.dg;

import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc --> A representation of the model object ' <em><b>Path</b></em>'. <!-- end-user-doc -->
 *
 * <!-- begin-model-doc -->
 * Path is a marked element that defines a custom shape whose geometry is specified with a sequence of path commands.
 * <!-- end-model-doc -->
 *
 * <p>
 * The following features are supported:
 * </p>
 * <ul>
 *   <li>{@link org.eclipse.papyrus.dd.dg.Path#getCommands <em>Command</em>}</li>
 * </ul>
 *
 * @see org.eclipse.papyrus.dd.dg.DGPackage#getPath()
 * @model
 * @generated
 */
public interface Path extends MarkedElement {

	/**
	 * Returns the value of the '<em><b>Command</b></em>' containment reference
	 * list. The list contents are of type {@link org.eclipse.papyrus.dd.dg.PathCommand}. <!-- begin-user-doc -->
	 * <!-- end-user-doc --> <!-- begin-model-doc --> a list of path commands
	 * that define the geometry of the custom shape. <!-- end-model-doc -->
	 * 
	 * @return the value of the '<em>Command</em>' containment reference list.
	 * @see org.eclipse.papyrus.dd.dg.DGPackage#getPath_Command()
	 * @model containment="true" required="true"
	 * @generated
	 */
	EList<PathCommand> getCommands();

	/**
	 * <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc -->
	 * 
	 * @param diagnostics
	 *        The chain of diagnostics to which problems are to be appended.
	 * @param context
	 *        The cache of context-specific information. <!-- end-model-doc
	 *        -->
	 * @model annotation=
	 *        "http://www.eclipse.org/emf/2002/Ecore/OCL body='command->first().oclIsKindOf(MoveTo)'"
	 * @generated
	 */
	boolean firstCommandMustBeMove(DiagnosticChain diagnostics, Map<Object, Object> context);
} // Path

Back to the top