blob: e0ca1e722dceb0e2d1a547a67dd4359620164253 (
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
|
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclipse.papyrus.papyrusgmfgenextension;
import org.eclipse.emf.common.util.EList;
import org.eclipse.gmf.codegen.gmfgen.GenChildSideAffixedNode;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Specific Locator</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* This class is used to precise itw own locator used for the border item, like port or template.
*
* for example, in the case of templateSignature of ClassEditPart in the method protected boolean addFixedChild(EditPart childEditPart):
* replacement of the general BorderItemLocator is needed in order to constrain the movement.
*
* if (childEditPart instanceof RedefinableTemplateSignatureEditPart) {
* // BorderItemLocator locator = new BorderItemLocator(getMainFigure(), PositionConstants.NORTH);
* BorderItemLocator locator = new TemplateClassifierBorderItemLocator(getMainFigure(), PositionConstants.NORTH);
* getBorderedFigure().getBorderItemContainer().add(((RedefinableTemplateSignatureEditPart) childEditPart).getFigure(), locator);
* return true;
* }
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificLocator#getGenChildSideAffixedNode <em>Gen Child Side Affixed Node</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getSpecificLocator()
* @model
* @generated
*/
public interface SpecificLocator extends ExternalHook {
/**
* Returns the value of the '<em><b>Gen Child Side Affixed Node</b></em>' reference list.
* The list contents are of type {@link org.eclipse.gmf.codegen.gmfgen.GenChildSideAffixedNode}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Gen Child Side Affixed Node</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Gen Child Side Affixed Node</em>' reference list.
* @see org.eclipse.papyrus.papyrusgmfgenextension.PapyrusgmfgenextensionPackage#getSpecificLocator_GenChildSideAffixedNode()
* @model
* @generated
*/
EList<GenChildSideAffixedNode> getGenChildSideAffixedNode();
} // SpecificLocator
|