コード例 #1
0
 private Collection buildServerPlatformNames() {
   Collection servers =
       CollectionTools.sortedSet(ServerPlatformManager.instance().platformShortNames());
   String serverClassName = NullServerPlatformAdapter.instance().getServerClassName();
   servers.remove(ClassTools.shortNameForClassNamed(serverClassName));
   return servers;
 }
コード例 #2
0
  private ComboBoxModel buildEisPlatformCollectionHolder() {
    Collection platforms =
        CollectionTools.sortedSet(EisPlatformManager.instance().platformShortNames());

    return new ComboBoxModelAdapter(
        new SimpleCollectionValueModel(platforms), buildEisPlatformHolder());
  }