public void update(final Collection<? extends IEntityWrapper> entities) {
    setEntities(entities, null);

    if (entities.size() > 1) {
      EventQueueUtilities.runOnEDT(
          new Runnable() {

            @Override
            public void run() {

              setName(
                  Bundle.CTL_PropertiesViewTopComponent() + " - " + entities.size() + " entities");
            }
          });
    } else {
      EventQueueUtilities.runOnEDT(
          new Runnable() {

            @Override
            public void run() {

              setName(Bundle.CTL_PropertiesViewTopComponent());
            }
          });
    }
  }
  public void update() {
    EventQueueUtilities.runOffEDT(
        new Runnable() {

          public void run() {
            update(global.allInstances());
          }
        });
  }