Revision e5c6119c
Added by Patrick Plitzner almost 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmDataViewerE4.java | ||
---|---|---|
93 | 93 |
} |
94 | 94 |
|
95 | 95 |
|
96 |
protected void createEmptySection(RootElement parent) { |
|
96 |
protected void createEmptySection(String message, RootElement parent) {
|
|
97 | 97 |
destroySections(); |
98 | 98 |
|
99 |
EmptySection emptySection = formFactory.createEmptySection(formFactory, parent, SWT.NONE); |
|
99 |
EmptySection emptySection = formFactory.createEmptySection(message, formFactory, parent, SWT.NONE);
|
|
100 | 100 |
|
101 | 101 |
addPart(emptySection); |
102 | 102 |
} |
103 | 103 |
|
104 |
public void showEmptyPage(){ |
|
104 |
public void showEmptyPage(String message){
|
|
105 | 105 |
destroySections(); |
106 |
createEmptySection(rootElement); |
|
106 |
createEmptySection(message, rootElement);
|
|
107 | 107 |
} |
108 | 108 |
|
109 | 109 |
protected void markViewPartDirty(){ |
Also available in: Unified diff
ref #4363 Add message parameter to EmptySection for detail information