blob: 0eb90b72c14275612fee4f1199e4ee133b4fa9ff [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2007 Boeing.
* 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
*
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
package org.eclipse.osee.ats.workflow.page;
import org.eclipse.osee.ats.artifact.ATSAttributes;
import org.eclipse.osee.ats.artifact.TeamWorkFlowArtifact.DefaultTeamState;
import org.eclipse.osee.ats.workflow.flow.TeamWorkflowDefinition;
import org.eclipse.osee.ats.workflow.item.AtsWorkDefinitions.RuleWorkItemId;
import org.eclipse.osee.framework.ui.skynet.widgets.workflow.WorkPageDefinition;
/**
* @author Donald G. Dunne
*/
public class AtsImplementWorkPageDefinition extends WorkPageDefinition {
public static String ID = TeamWorkflowDefinition.ID + "." + DefaultTeamState.Implement.name();
public AtsImplementWorkPageDefinition() {
this(DefaultTeamState.Implement.name(), ID, null);
}
public AtsImplementWorkPageDefinition(String name, String pageId, String parentId) {
super(name, pageId, parentId);
addWorkItem(RuleWorkItemId.atsRequireStateHourSpentPrompt.name());
addWorkItem(ATSAttributes.WORK_PACKAGE_ATTRIBUTE.getStoreName());
addWorkItem(ATSAttributes.RESOLUTION_ATTRIBUTE.getStoreName());
}
}