private IGameDescriptor gameDescriptor;
public void run(IAction action) {
if (gameDescriptor != null) {
if (gameDescriptor.isSpSupported()) {
ISpGameSession spGame = gameDescriptor.newSpGameSessionInstance();
if (spGame != null) {
spGame.init(view.getViewSite().getWorkbenchWindow());
spGame.start();
}
}
}
}