return newTask; }
newTask.setDirectObject(consumer); newTask.setVerb(Verb.getVerb(Constants.Verb.GENERATEPROJECTIONS));  newTask = addPrepositionalPhrase(newTask, prepPhrase); newTask.setPreferences(prefs.elements());  return newTask; }
    protected NewTask createGPTask(Task parentTask, Asset consumer) {	Vector prefs = new Vector();	PrepositionalPhrase prepPhrase = newPrepositionalPhrase (Constants.Preposition.OFTYPE, dfPlugin.getSupplyType());	prefs.addElement(createStartTimePref(parentTask));	NewTask newTask = getPlanningFactory().newTask();  	        newTask.setParentTask(parentTask);	newTask.setPlan(parentTask.getPlan());	newTask.setPrepositionalPhrases(parentTask.getPrepositionalPhrases());		newTask.setDirectObject(consumer);	newTask.setVerb(Verb.getVerb(Constants.Verb.GENERATEPROJECTIONS));	newTask = addPrepositionalPhrase(newTask, prepPhrase);	newTask.setPreferences(prefs.elements());	return newTask;	    }