public static final String ID = "bulkeditor.input.reference";
+ private static final String PROPERTY_NOMENCLATURAL_CACHE = "Nomencl. Cache";
+
private static ReferenceEditorInput instance;
public static String getID() {
@Override
protected List<String> getPropertyKeys_internal() {
List<String> propertyKeysInternal = new ArrayList<>();
+ propertyKeysInternal.add(PROPERTY_NOMENCLATURAL_CACHE);
return propertyKeysInternal;
}
+ @Override
+ public Object getPropertyValue(Reference cdmBase, String property) {
+ if(property.equals(PROPERTY_NOMENCLATURAL_CACHE)){
+ return cdmBase.getAbbrevTitleCache();
+ }
+ return super.getPropertyValue(cdmBase, property);
+ }
+
@Override
public String getName() {
return BulkEditorInputType.REFERENCE.label;