/** Called, when operation finishes successfully. */
 public void onFinished(JavaScriptObject jso) {
   clearTable();
   for (Attribute a : JsonUtils.<Attribute>jsoAsList(jso)) {
     if (!a.getDefinition().equals("core")) {
       addToTable(a);
     }
   }
   sortTable();
   loaderImage.loadingFinished();
   session.getUiElements().setLogText("Resource required attributes loaded: " + list.size());
   events.onFinished(jso);
 }
示例#2
0
 /**
  * Compares to another object
  *
  * @param o Object to compare
  * @return true, if they are the same
  */
 public final boolean equals(Attribute o) {
   return o.getId() == this.getId();
 }