1 package eu
.etaxonomy
.taxeditor
.ui
.section
.userecords
;
3 import org
.eclipse
.jface
.viewers
.ISelectionProvider
;
5 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
6 import eu
.etaxonomy
.cdm
.model
.description
.DescriptionElementBase
;
7 import eu
.etaxonomy
.taxeditor
.store
.CdmStore
;
8 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
9 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
.DetailType
;
10 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
11 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailSection
;
14 * The context manager mediates context start/stop and workbench shutdowns to all registered listeners.
17 * @created mar 13, 2012
20 public class UseRecordDetailSection
extends AbstractCdmDetailSection
<DescriptionElementBase
> {
21 public UseRecordDetailSection(CdmFormFactory cdmFormFactory
, ConversationHolder conversation
,
22 ICdmFormElement parentElement
, ISelectionProvider selectionProvider
, int style
) {
23 super(cdmFormFactory
, conversation
, parentElement
, selectionProvider
, style
);
27 protected DetailType
getDetailType() {
28 return DetailType
.USE_RECORD
;
32 public String
getHeading() {
38 protected void setSectionTitle() {
39 this.setText(getHeading() + ": " + getEntity().getFeature().getLabel(CdmStore
.getDefaultLanguage()));
40 setTextClient(createToolbar());