示例#1
0
 protected String calculateNodeId() {
   IValue value = myWatchable.getValue();
   if (value == null) {
     return myWatchable.getName() + " = null";
   }
   return myWatchable.getName() + " = " + value.getValuePresentation();
 }
 @Override
 public boolean isLeaf() {
   IValue value = getValue();
   return value == null || !value.isStructure();
 }
 @NotNull
 protected String getValuePresentation(IValue value) {
   if (value == null) return "null";
   return value.getValuePresentation();
 }