*/
public class PolytomousKeyEditorInput extends AbstractIdentificationEditorInput<PolytomousKey> {
- private final String name;
private PolytomousKey key;
propertyPath.add("root");
propertyPath.add("root.*");
this.key = CdmStore.getService(IPolytomousKeyService.class).load(polytomousKeyUuid, propertyPath);
- this.name = key.getTitleCache();
}
-// public PolytomousKeyEditorInput(UUID polytomousKeyUuid, String name) {
-// super(CdmStore.createConversation());
-// this.keyUuid = polytomousKeyUuid;
-// this.name = name;
-// }
-
public static PolytomousKeyEditorInput NewInstance(UUID polytomousKeyUuid) throws Exception{
try{
ConversationHolder conversation = CdmStore.createConversation();
@Override
public Map<Object, List<String>> getPropertyPathsMap() {
- Map<Object,List<String>> propertyPathsMap = new HashMap<Object,List<String>>();
+ Map<Object,List<String>> propertyPathsMap = new HashMap<>();
List<String> polytomousKeyNodePropertyPaths = Arrays.asList(new String[] {
"statement" //$NON-NLS-1$