Revision 953c844d
Added by Alex Theys almost 12 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/userecords/UseRecordDetailSection.java | ||
---|---|---|
1 |
/** |
|
2 |
* Copyright (C) 2007 EDIT |
|
3 |
* European Distributed Institute of Taxonomy |
|
4 |
* http://www.e-taxonomy.eu |
|
5 |
* |
|
6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
8 |
*/ |
|
1 | 9 |
package eu.etaxonomy.taxeditor.ui.section.userecords; |
2 | 10 |
|
3 | 11 |
import org.eclipse.jface.viewers.ISelectionProvider; |
... | ... | |
11 | 19 |
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection; |
12 | 20 |
|
13 | 21 |
/** |
14 |
* The context manager mediates context start/stop and workbench shutdowns to all registered listeners. |
|
15 |
* |
|
22 |
* UseRecordDetailSection Class |
|
16 | 23 |
* @author a.theys |
17 | 24 |
* @created mar 13, 2012 |
18 | 25 |
* @version 1.0 |
19 | 26 |
*/ |
20 | 27 |
public class UseRecordDetailSection extends AbstractCdmDetailSection<DescriptionElementBase> { |
28 |
|
|
29 |
/**Constructor for class UseRecordDetailSection |
|
30 |
* |
|
31 |
* @param cdmFormFactory |
|
32 |
* @param conversation |
|
33 |
* @param parentElement |
|
34 |
* @param selectionProvider |
|
35 |
* @param style |
|
36 |
*/ |
|
21 | 37 |
public UseRecordDetailSection(CdmFormFactory cdmFormFactory, ConversationHolder conversation, |
22 | 38 |
ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style) { |
23 | 39 |
super(cdmFormFactory, conversation, parentElement, selectionProvider, style); |
24 | 40 |
} |
25 |
|
|
41 |
|
|
42 |
/** {@inheritDoc} */ |
|
26 | 43 |
@Override |
27 | 44 |
protected DetailType getDetailType() { |
28 | 45 |
return DetailType.USE_RECORD; |
29 | 46 |
} |
30 |
|
|
47 |
|
|
48 |
/** {@inheritDoc} */ |
|
31 | 49 |
@Override |
32 | 50 |
public String getHeading() { |
33 | 51 |
return "Use Record"; |
Also available in: Unified diff
AT: committing changes to the TaxEditor Post second round of code review