/******************************************************************************* * Copyright (c) 2005, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *******************************************************************************/ package org.eclipse.dltk.ti.goals; import org.eclipse.dltk.ti.GoalState; public class NullGoalEvaluator extends GoalEvaluator { public NullGoalEvaluator(IGoal goal) { super(goal); } public IGoal[] init() { return IGoal.NO_GOALS; } public Object produceResult() { return null; } public IGoal[] subGoalDone(IGoal subgoal, Object result, GoalState state) { return IGoal.NO_GOALS; } }