Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/workflow/item/AtsAttributeXWidgetWorkItem.java')
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/workflow/item/AtsAttributeXWidgetWorkItem.java88
1 files changed, 44 insertions, 44 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/workflow/item/AtsAttributeXWidgetWorkItem.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/workflow/item/AtsAttributeXWidgetWorkItem.java
index e9e0939cabb..05e147c3d65 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/workflow/item/AtsAttributeXWidgetWorkItem.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/workflow/item/AtsAttributeXWidgetWorkItem.java
@@ -1,44 +1,44 @@
-/*******************************************************************************
- * 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.item;
-
-import org.eclipse.osee.ats.artifact.ATSAttributes;
-import org.eclipse.osee.framework.ui.skynet.widgets.XOption;
-import org.eclipse.osee.framework.ui.skynet.widgets.workflow.DynamicXWidgetLayoutData;
-import org.eclipse.osee.framework.ui.skynet.widgets.workflow.WorkWidgetDefinition;
-
-/**
- * @author Donald G. Dunne
- */
-public class AtsAttributeXWidgetWorkItem extends WorkWidgetDefinition {
-
- public AtsAttributeXWidgetWorkItem(String name, String id, String attributeTypeName, String xWidgetName, XOption... xOption) {
- super(name + " - " + id, id);
- DynamicXWidgetLayoutData data = new DynamicXWidgetLayoutData(null);
- data.setName(name);
- data.setId(id);
- data.setStorageName(attributeTypeName);
- data.setXWidgetName(xWidgetName);
- data.getXOptionHandler().add(xOption);
- set(data);
- }
-
- public AtsAttributeXWidgetWorkItem(ATSAttributes atsAttribute, String xWidgetName, XOption... xOption) {
- this(atsAttribute.getDisplayName(), atsAttribute.getStoreName(), atsAttribute.getStoreName(), xWidgetName,
- xOption);
- }
-
- public void setDefaultValue(String defaultValue) {
- DynamicXWidgetLayoutData data = get();
- data.setDefaultValue(defaultValue);
- set(data);
- }
-}
+/*******************************************************************************
+ * 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.item;
+
+import org.eclipse.osee.ats.artifact.ATSAttributes;
+import org.eclipse.osee.framework.ui.skynet.widgets.XOption;
+import org.eclipse.osee.framework.ui.skynet.widgets.workflow.DynamicXWidgetLayoutData;
+import org.eclipse.osee.framework.ui.skynet.widgets.workflow.WorkWidgetDefinition;
+
+/**
+ * @author Donald G. Dunne
+ */
+public class AtsAttributeXWidgetWorkItem extends WorkWidgetDefinition {
+
+ public AtsAttributeXWidgetWorkItem(String name, String id, String attributeTypeName, String xWidgetName, XOption... xOption) {
+ super(name + " - " + id, id);
+ DynamicXWidgetLayoutData data = new DynamicXWidgetLayoutData(null);
+ data.setName(name);
+ data.setId(id);
+ data.setStorageName(attributeTypeName);
+ data.setXWidgetName(xWidgetName);
+ data.getXOptionHandler().add(xOption);
+ set(data);
+ }
+
+ public AtsAttributeXWidgetWorkItem(ATSAttributes atsAttribute, String xWidgetName, XOption... xOption) {
+ this(atsAttribute.getDisplayName(), atsAttribute.getStoreName(), atsAttribute.getStoreName(), xWidgetName,
+ xOption);
+ }
+
+ public void setDefaultValue(String defaultValue) {
+ DynamicXWidgetLayoutData data = get();
+ data.setDefaultValue(defaultValue);
+ set(data);
+ }
+}

Back to the top