blob: cb3f9d036b4401f29ccfbb090b7ff78b7f1a8646 (
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
/*****************************************************************************
* Copyright (c) 2009 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:
* Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
*
*****************************************************************************/
package org.eclipse.papyrus.uml.diagram.common.figure.node;
import org.eclipse.draw2d.Label;
import org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel;
public interface IPapyrusNodeNamedElementFigure extends IPapyrusNodeUMLElementFigure {
/**
* Sets the qualified name.
*
* @param qualifiedName
* the qualified name
*/
public void setQualifiedName(String qualifiedName);
/**
* return the label that contains the qualified name.
*
* @return the label that contains the qualified name
*/
public Label getQualifiedNameLabel();
/**
* Get the label containing the tagged value
*
* @return
*/
public Label getTaggedLabel();
/**
* Sets the depth.
*
* @param depth
* the new depth
*/
public void setDepth(int depth);
/**
* Gets the name label.
*
* @return the name label
*/
public WrappingLabel getNameLabel();
/**
* display or not the icon associated to the label
*
* @param displayNameLabelIcon
*/
public void setNameLabelIcon(boolean displayNameLabelIcon);
/**
* restore a label that represent the name of the element.
*/
public void restoreNameLabel();
/** remove the label that represent the name**/
public void removeNameLabel();
/** remove the label that represent the stereotype**/
public void removeStereotypeLabel();
/**
* restore a label that represent the appliedStereotype of the element.
*/
public void restoreStereotypeLabel();
/**
* restore a label that represent the tagged of the element.
*/
public void restoreTaggedLabel();
/** remove the label that represent the tagged**/
public void removeTaggedLabel();
}
|