@Override
 public void run(final String cmd, final String parameters) {
   RelayLoader.openSystemBrowser(
       "http://kol.coldfront.net/thekolwiki/index.php/Special:Search?search="
           + StringUtilities.getURLEncode(parameters)
           + "&go=Go");
 }
예제 #2
0
  @Override
  public void actionCancelled() {
    String name;
    Object[] values = this.getSelectedValues();

    for (int i = 0; i < values.length; ++i) {
      name = ((AdventureResult) values[i]).getName();
      if (name != null) {
        RelayLoader.openSystemBrowser(
            "http://kol.coldfront.net/thekolwiki/index.php/Special:Search?search=" + name);
      }
    }
  }