import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement;
/**
- * ReferenceBaseDetailElement class.
- *
* @author n.hoffmann
* @created Mar 2, 2010
*/
implements IErrorIntolerableElement, IExceptionHandler {
boolean isNomenclaturalReference = false;
-
-
private ToggleableTextElement toggleableAbbrevCache;
ICdmFormElement formElement, int style) {
super(cdmFormFactory, formElement);
}
-
+
public ReferenceDetailElement(CdmFormFactory cdmFormFactory,
ICdmFormElement formElement, boolean isNomenclaturalReference, int style) {
this(cdmFormFactory, formElement, style);
this.isNomenclaturalReference = isNomenclaturalReference;
-
+
}
public boolean isNomenclaturalReference() {
return isNomenclaturalReference;
text_uri = formFactory.createUriWithLabelElement(element, "URI",
reference.getUri(), style);
- if (reference.getType().equals(ReferenceType.WebPage)){
+ if (reference.isDynamic()){
createWebPageControls(this, reference, style);
}
}