Revision be02f4f9
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/perspective/Default.java | ||
---|---|---|
1 | 1 |
/** |
2 |
*
|
|
2 |
* |
|
3 | 3 |
*/ |
4 | 4 |
package eu.etaxonomy.taxeditor.perspective; |
5 | 5 |
|
6 | 6 |
import org.eclipse.ui.IPageLayout; |
7 | 7 |
import org.eclipse.ui.IPerspectiveFactory; |
8 | 8 |
import org.eclipse.ui.IPlaceholderFolderLayout; |
9 |
import org.eclipse.ui.progress.IProgressConstants; |
|
10 |
|
|
11 |
import eu.etaxonomy.taxeditor.view.datasource.CdmDataSourceViewPart; |
|
12 | 9 |
|
13 | 10 |
/** |
14 | 11 |
* @author n.hoffmann |
... | ... | |
17 | 14 |
public abstract class Default implements IPerspectiveFactory { |
18 | 15 |
|
19 | 16 |
protected IPlaceholderFolderLayout folderAdditional; |
20 |
|
|
17 |
|
|
21 | 18 |
public static final String ADDITIONAL = "additional"; |
22 |
|
|
19 |
|
|
23 | 20 |
/** |
24 |
*
|
|
21 |
* |
|
25 | 22 |
* @param layout |
26 | 23 |
* @param refId |
27 | 24 |
*/ |
28 | 25 |
public void createAdditionalFolder(IPageLayout layout, String refId) { |
29 |
folderAdditional = layout.createPlaceholderFolder(ADDITIONAL, IPageLayout.BOTTOM, 0.25f, refId); |
|
30 |
|
|
31 |
folderAdditional.addPlaceholder(CdmDataSourceViewPart.ID); |
|
32 |
folderAdditional.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID); |
|
33 | 26 |
} |
34 | 27 |
|
35 | 28 |
} |
Also available in: Unified diff
ref #6595, 6568 Open taxon name editor in editor area