Revision b50ab815
Added by Patrick Plitzner over 10 years ago
- converted Browse, Edit, Delete functionality of EntitySelection
- adapted layout of detail elements to fill up the horizontal space
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/ICdmFormElement.java | ||
---|---|---|
31 | 31 |
*/ |
32 | 32 |
public abstract void setPropertyChangeListeners( |
33 | 33 |
List<IPropertyChangeListener> propertyChangeListeners); |
34 |
|
|
34 |
|
|
35 | 35 |
/** |
36 | 36 |
* <p>getControls</p> |
37 | 37 |
* |
38 | 38 |
* @return a {@link java.util.Set} object. |
39 | 39 |
*/ |
40 | 40 |
public abstract Set<Control> getControls(); |
41 |
|
|
41 |
|
|
42 | 42 |
/** |
43 | 43 |
* <p>getElements</p> |
44 | 44 |
* |
45 | 45 |
* @return a {@link java.util.Set} object. |
46 | 46 |
*/ |
47 | 47 |
public abstract Set<ICdmFormElement> getElements(); |
48 |
|
|
48 |
|
|
49 | 49 |
/** |
50 | 50 |
* <p>addElement</p> |
51 | 51 |
* |
52 | 52 |
* @param element a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object. |
53 | 53 |
*/ |
54 | 54 |
public abstract void addElement(ICdmFormElement element); |
55 |
|
|
55 |
|
|
56 | 56 |
/** |
57 | 57 |
* <p>getParentElement</p> |
58 | 58 |
* |
59 | 59 |
* @return a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object. |
60 | 60 |
*/ |
61 | 61 |
public abstract ICdmFormElement getParentElement(); |
62 |
|
|
62 |
|
|
63 | 63 |
/** |
64 | 64 |
* <p>removeElements</p> |
65 | 65 |
*/ |
66 | 66 |
public abstract void removeElements(); |
67 |
|
|
67 |
|
|
68 | 68 |
/** |
69 | 69 |
* <p>getLayoutComposite</p> |
70 | 70 |
* |
71 | 71 |
* @return a {@link org.eclipse.swt.widgets.Composite} object. |
72 | 72 |
*/ |
73 | 73 |
public abstract Composite getLayoutComposite(); |
74 |
|
|
74 |
|
|
75 | 75 |
/** |
76 | 76 |
* <p>containsFormElement</p> |
77 | 77 |
* |
... | ... | |
79 | 79 |
* @return a boolean. |
80 | 80 |
*/ |
81 | 81 |
public boolean containsFormElement(ICdmFormElement formElement); |
82 |
|
|
82 |
|
|
83 | 83 |
/** |
84 | 84 |
* <p>setBackground</p> |
85 | 85 |
* |
86 | 86 |
* @param color a {@link org.eclipse.swt.graphics.Color} object. |
87 | 87 |
*/ |
88 | 88 |
public void setBackground(Color color); |
89 |
|
|
89 |
|
|
90 | 90 |
/** |
91 | 91 |
* Sets a background color for this element and stores this background color |
92 | 92 |
* for future reference |
93 |
*
|
|
93 |
* |
|
94 | 94 |
* @param color |
95 | 95 |
*/ |
96 | 96 |
public void setPersistentBackground(Color color); |
97 |
|
|
97 |
|
|
98 | 98 |
/** |
99 | 99 |
* Get the background color that is associated with this element. |
100 |
*
|
|
100 |
* |
|
101 | 101 |
* @return |
102 | 102 |
*/ |
103 | 103 |
public Color getPersistentBackground(); |
104 |
|
|
104 |
|
|
105 | 105 |
/** |
106 | 106 |
* Refreshes the layout of this form element. |
107 | 107 |
* |
... | ... | |
109 | 109 |
* changes and the current element needs to display that changes |
110 | 110 |
*/ |
111 | 111 |
public void refresh(); |
112 |
|
|
113 |
/** |
|
114 |
* <p>Getter for the field <code>formFactory</code>.</p> |
|
115 |
* |
|
116 |
* @return a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object. |
|
117 |
*/ |
|
118 |
public CdmFormFactory getFormFactory(); |
|
112 | 119 |
} |
Also available in: Unified diff