blob: 614af7fa7b9e27dfb05ccc66d5fef47ed8ab28a2 [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.AtsAttributeTypes;
import org.eclipse.osee.ats.workflow.flow.SimpleWorkflowDefinition;
import org.eclipse.osee.ats.workflow.flow.SimpleWorkflowDefinition.SimpleState;
import org.eclipse.osee.ats.workflow.item.AtsWorkDefinitions.RuleWorkItemId;
import org.eclipse.osee.framework.ui.skynet.widgets.workflow.WorkPageDefinition;
import org.eclipse.osee.framework.ui.skynet.widgets.workflow.WorkPageType;
/**
* @author Donald G. Dunne
*/
public class AtsSimpleInWorkWorkPageDefinition extends WorkPageDefinition {
public final static String ID = SimpleWorkflowDefinition.ID + "." + SimpleState.InWork.name();
public AtsSimpleInWorkWorkPageDefinition(int ordinal) {
this(SimpleState.InWork.name(), ID, null, ordinal);
}
public AtsSimpleInWorkWorkPageDefinition(String name, String pageId, String parentId, int ordinal) {
super(name, pageId, parentId, WorkPageType.Working, ordinal);
addWorkItem(RuleWorkItemId.atsRequireStateHourSpentPrompt.name());
addWorkItem(AtsAttributeTypes.Resolution);
}
}