@Override public ExplorerThread tryStartNewThread(IStrategy strategy) { return globalContext.tryStartNewThread(this, strategy); }
public synchronized ExplorerThread startFirstThreadWithoutModelClone(IStrategy strategy, Notifier model) { Preconditions.checkState(!isAlreadyInited, "First thread is already started."); return tryStartNewThread(null, model, strategy); }
public synchronized ExplorerThread tryStartNewThreadWithoutModelClone(ThreadContext originalThreadContext, IStrategy strategy) { return tryStartNewThread(originalThreadContext, originalThreadContext.getModel(), strategy); }
public synchronized ExplorerThread startFirstThread(IStrategy strategy, Notifier model) { Preconditions.checkState(!isAlreadyInited, "First thread is already started."); return tryStartNewThread(null, EMFHelper.clone(model), strategy); }
public synchronized void startAllThreads(ThreadContext originalThreadContext, IStrategyFactory strategyFactory) { while (canStartNewThread()) { tryStartNewThread(originalThreadContext, strategyFactory.createStrategy()); } }
public synchronized ExplorerThread tryStartNewThread(ThreadContext originalThreadContext, IStrategy strategy) { return tryStartNewThread(originalThreadContext, EMFHelper.clone(originalThreadContext.getModel()), strategy); }