Examples of GOIMGameList


Examples of net.sphene.goim.rcp.beans.GOIMGameList

      return true;
    }
  }

  private void joinServer(GameServer server) {
    GOIMGameList gameList = GOIMPlugin
        .getPreferenceObject(GOIMGameList.class);
    GOIMGameItem game = gameList
        .getGameItemForExtensionId(server.gameid);
    if (game != null && server.getGameExtension() != null) {
      server.getGameExtension().getDelegate().execute(game,
          new GameDestination(game, server.address));
    }
View Full Code Here

Examples of net.sphene.goim.rcp.beans.GOIMGameList

          formatSocketAddress(target),additionalXMLAttributes.toString(),getElementName());
    }
    public static class Provider implements PacketExtensionProvider {
      public PacketExtension parseExtension(XmlPullParser parser) throws Exception {
        InetSocketAddress addr = parseSocketAddress(parser.getAttributeValue("","target"));
        GOIMGameList list = GOIMPlugin.getPreferenceObject(GOIMGameList.class);
        String gameId = parser.getAttributeValue("","game");
        int attributes = parser.getAttributeCount();
        Map<String,String> atts = new HashMap<String,String>();
        for(int i = 0 ; i < attributes ; i++) {
          String name = parser.getAttributeName(i);
View Full Code Here

Examples of net.sphene.goim.rcp.beans.GOIMGameList

    toolMenu = new MenuManager("Tools","tools");
    menuBar.add(toolMenu);
    launchMenu = new MenuManager("Launch Game","tools/launch");
    toolMenu.add(launchMenu);
    createLaunchMenu();
    GOIMGameList gameList = GOIMPlugin.getPreferenceObject(GOIMGameList.class);
    gameList.changeListenerList.addListener(new SpheneListener<SpheneEvent>() {
      public void handleEvent(SpheneEvent event) {
        launchMenu.removeAll();
        createLaunchMenu();
      }});
View Full Code Here

Examples of net.sphene.goim.rcp.beans.GOIMGameList

    } catch (MalformedURLException e) {
      e.printStackTrace();
    }
  }
  protected void createLaunchMenu() {
    GOIMGameList gameList = GOIMPlugin.getPreferenceObject(GOIMGameList.class);
    for(final GOIMGameItem game : gameList) {
      //game.retrieveExtensionProxy().
      Action action = new Action(game.retrieveExtensionProxy().name) {
        public void run() {
          game.retrieveExtensionProxy().execute(game,null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.