/** Called, when operation finishes successfully. */
 public void onFinished(JavaScriptObject jso) {
   setList(JsonUtils.<Publication>jsoAsList(jso));
   sortTable();
   session.getUiElements().setLogText("Publications loaded: " + list.size());
   events.onFinished(jso);
   loaderImage.loadingFinished();
 }
Esempio n. 2
0
 /** Called, when operation finishes successfully. */
 public void onFinished(JavaScriptObject jso) {
   setList(JsonUtils.<ExtSource>jsoAsList(jso));
   sortTable();
   session.getUiElements().setLogText("Loading external sources finished: " + list.size());
   events.onFinished(jso);
   loaderImage.loadingFinished();
 }
 /** 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);
 }
Esempio n. 4
0
  /** Called when loading successfully finishes. */
  public void onFinished(JavaScriptObject jso) {

    applFormItems.clear();
    applFormItems.addAll(JsonUtils.<ApplicationFormItem>jsoAsList(jso));
    applFormGenerators.clear();

    if (settings) {
      prepareSettings(applFormItems);
    } else {
      prepareApplicationForm(applFormItems);
    }

    session
        .getUiElements()
        .setLogText(
            "Loading application form items in selected VO finished:" + applFormItems.size());
    events.onFinished(jso);
    loaderImage.loadingFinished();
  }