import eu.etaxonomy.taxeditor.ui.section.identifier.IdentifierDetailSection;
import eu.etaxonomy.taxeditor.ui.section.key.PolytomousKeyDetailSection;
import eu.etaxonomy.taxeditor.ui.section.key.PolytomousKeyNodeDetailSection;
-import eu.etaxonomy.taxeditor.ui.section.key.TaxonomicScopeSection;
import eu.etaxonomy.taxeditor.ui.section.name.NameRelationshipDetailSection;
import eu.etaxonomy.taxeditor.ui.section.name.NomenclaturalStatusSection;
import eu.etaxonomy.taxeditor.ui.section.name.NonViralNameDetailSection;
private ISelection selection;
- /**
- * <p>
- * Constructor for DetailsViewer.
- * </p>
- *
- * @param parent
- * a {@link org.eclipse.swt.widgets.Composite} object.
- * @param viewPart
- * a {@link eu.etaxonomy.taxeditor.view.AbstractCdmViewPart}
- * object.
- */
public DetailsViewer(Composite parent, AbstractCdmViewPart viewPart) {
super(parent, viewPart);
}
}
- /**
- * @param rootElement
- */
private void createEmptySection(RootElement parent) {
destroySections();
addPart(emptySection);
}
- /**
- * @param rootElement
- */
private void createGroupSection(RootElement parent) {
destroySections();
addPart(grantedAuthorityDetailSection);
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.viewers.Viewer#getSelection()
- */
/** {@inheritDoc} */
@Override
public ISelection getSelection() {
}
}
- /**
- * createTaxonSections(RootElement parent)
- *
- * @param parent
- */
private void createTaxonSections(RootElement parent) {
destroySections();
addPart(nameRelationshipSection);
}
-
addPart(parsingMessagesSection);
addPart(taxonBaseDetailSection);
addPart(nonViralNameSection);
addPart(referenceDetailSection);
}
- /**
- * createNameSections
- *
- * @param parent
- */
private void createNameSections(RootElement parent) {
destroySections();
NonViralNameDetailSection nonViralNameSection = formFactory.createNonViralNameDetailSection(getConversationHolder(), parent, this,
}
}
- /**
- * createReferenceSections
- *
- * @param parent
- */
private void createReferenceSections(RootElement parent) {
destroySections();
addPart(referenceDetailSection);
}
- /**
- * createTeamOrPersonBaseDetailSection
- *
- * @param parent
- */
private void createTeamOrPersonBaseDetailSection(RootElement parent) {
destroySections();
TeamOrPersonBaseDetailSection teamOrPersonBaseDetailSection = formFactory.createTeamOrPersonBaseDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
addPart(teamOrPersonBaseDetailSection);
}
- /**
- * createTeamDetailSection
- *
- * @param parent
- */
private void createTeamDetailSection(RootElement parent) {
destroySections();
TeamDetailSection teamDetailSection = formFactory.createTeamDetailSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
addPart(teamDetailSection);
}
- /**
- * createPersonDetailSection
- *
- * @param parent
- */
private void createPersonDetailSection(RootElement parent) {
destroySections();
PersonDetailSection personDetailSection = formFactory.createPersonDetailSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
addPart(personDetailSection);
}
- /**
- * createDescriptionElementSection
- *
- * @param parent
- */
private void createDescriptionElementSection(RootElement parent) {
destroySections();
addPart(descriptionElementMediaSection);
}
- /**
- * createDescriptionSection
- *
- * @param parent
- */
private void createDescriptionSection(RootElement parent) {
destroySections();
DescriptionDetailSection descriptionDetailSection = formFactory.createDescriptionDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
addPart(scopeSection);
}
- /**
- * createDescriptionSection
- *
- * @param parent
- */
private void createSpecimenDescriptionSection(RootElement parent) {
destroySections();
DescriptionDetailSection descriptionDetailSection = formFactory.createDescriptionDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
addPart(descriptionDetailSection);
}
- /**
- * Creates the use Description section
- *
- * @param parent
- */
private void createUseDescriptionSection(RootElement parent) {
destroySections();
DescriptionDetailSection descriptionDetailSection = formFactory.createDescriptionDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
}
-
- /**
- * @param rootElement
- */
private void createImageGallerySection(RootElement parent) {
destroySections();
DescriptionDetailSection descriptionDetailSection = formFactory.createDescriptionDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
addPart(descriptionDetailSection);
}
- /**
- * createMediaElementSection
- *
- * @param parent
- */
-
private void createMediaElementSection(RootElement parent) {
destroySections();
addPart(mediaDetailSection);
}
- /**
- * createDerivedUnitBaseElementSection
- *
- * @param parent
- */
private void createDerivedUnitBaseElementSection(RootElement parent) {
destroySections();
}
-
-
- /**
- * @param rootElement
- */
private void createFeatureDistributionSection(RootElement parent) {
destroySections();
addPart(featureDistributionSection);
}
- /**
- * createPolytomousKeyNodeSection
- *
- * @param parent
- */
private void createPolytomousKeyNodeSection(RootElement parent) {
destroySections();
}
- /**
- * create the UseRecordSection
- *
- * @param parent
- */
private void createUseRecordSection(RootElement parent) {
destroySections();
}
- /**
- * createUserSection
- *
- * @param parent
- */
private void createUserSection(RootElement parent) {
destroySections();
addPart(groupByUserDetailSection);
}
- /**
- * createTaxonRelationshipSection
- *
- * @param parent
- */
private void createTaxonRelationshipSection(RootElement parent) {
destroySections();
addPart(referencedEntityBaseDetailSection);
}
- /**
- * @param rootElement
- */
private void createTermVocabularySection(RootElement parent) {
destroySections();
addPart(termVocabularyDetailSection);
}
- /**
- * createDefinedTermSection
- *
- * @param parent
- */
private void createDefinedTermSection(RootElement parent) {
destroySections();