@Override
  public void run(TaskMonitor taskMonitor) throws Exception {
    if (network == null) network = appMgr.getCurrentNetwork();
    views = new ArrayList<CyNetworkView>(viewMgr.getNetworkViews(network));

    taskMonitor.showMessage(
        TaskMonitor.Level.INFO, "Views for network " + DataUtils.getNetworkTitle(network));
    for (CyNetworkView view : views) {
      taskMonitor.showMessage(TaskMonitor.Level.INFO, "    " + view);
      return;
    }
  }
 @Override
 public Object getResults(Class type) {
   if (type.equals(String.class)) return DataUtils.convertData(views);
   return views;
 }