Package net.sphene.goim.rcp.extensionpoints

Examples of net.sphene.goim.rcp.extensionpoints.IGame


  private void updateDefaultCommand() {
    String defaultCommand = "";
    if(comboGame.getSelectionIndex() > -1) {
      GameExtensionProxy proxy = games.get(comboGame.getSelectionIndex());
      if(proxy != null) {
        IGame delegate = proxy.getDelegate();
        if(delegate instanceof GameAdapter) {
          defaultCommand = "Default Connect Command: " + proxy.getDefaultConnectCommand();
        }
      }
    }
View Full Code Here


public class GameUtils {
  public static void autodetectGames(GOIMGameList gameList) {
    try {
      List<GameExtensionProxy> gameExtensions = GameExtensionPoint.getGameExtensions();
      for(GameExtensionProxy gameExtension : gameExtensions) {
        IGame iGame = gameExtension.getDelegate();
        if(iGame instanceof IGameWithRegistryAutoDetection) {
          ((IGameWithRegistryAutoDetection)iGame).autoDetect(gameExtension,gameList);
  //        if(item != null) {
  //          System.out.println("Auto detected game: " + item.toString());
  //          gameList.add(item);
View Full Code Here

TOP

Related Classes of net.sphene.goim.rcp.extensionpoints.IGame

Copyright © 2018 www.massapicom. 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.