_contents = null;
}
}
+
+ /**
+ * Returns localized name of the type of the object represented by this proxy.
+ *
+ * @return localized name of the type of the object represented by this proxy.
+ */
+ public abstract String getTypeName();
/**
* Get project settings.
entity.getProgressState().toString());
getTitleBarSettings().setSelectionState(entity.getSelection());
getTitleBarSettings().setEntryType(entity.getType().toLowerCase());
- getTitleBarSettings().setEntryTypeTitle(entity.getType());
+ getTitleBarSettings().setEntryTypeTitle(entity.getTypeName());
getTitleBarSettings().setEntryTitle(entity.getTitle());
}
getTitleBarSettings().setEditDisabledProperty(editDisabledProperty);
return "knowledge";
}
+ /**
+ * {@inheritDoc}
+ * @see org.splat.simer.AbstractOpenObject#getTypeName()
+ */
+ @Override
public String getTypeName() {
return ResourceBundle.getBundle("som", getApplicationSettings()
.getCurrentLocale()).getString( "type.knowledge." + _myknelm.getType().getName());
return Constants.STUDY_MENU;
}
+ /**
+ * {@inheritDoc}
+ * @see org.splat.simer.AbstractOpenObject#getTypeName()
+ */
+ @Override
public String getTypeName() {
return ResourceBundle.getBundle("labels", getApplicationSettings().getCurrentLocale()).getString( "label.study");
}