diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XBranchSelectWidgetDam.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XBranchSelectWidgetDam.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XBranchSelectWidgetDam.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XBranchSelectWidgetDam.java index 41111a136e8..1c7b21701ca 100644 --- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XBranchSelectWidgetDam.java +++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/widgets/XBranchSelectWidgetDam.java @@ -10,6 +10,7 @@ *******************************************************************************/ package org.eclipse.osee.framework.ui.skynet.widgets; +import org.eclipse.osee.framework.core.data.BranchId; import org.eclipse.osee.framework.core.data.IAttributeType; import org.eclipse.osee.framework.core.data.IOseeBranch; import org.eclipse.osee.framework.core.util.Result; @@ -20,7 +21,7 @@ import org.eclipse.osee.framework.skynet.core.artifact.BranchManager; /** * Branch Selection with branch uuid storage as String - * + * * @author Donald G. Dunne */ public class XBranchSelectWidgetDam extends XBranchSelectWidget implements IAttributeWidget { @@ -54,7 +55,7 @@ public class XBranchSelectWidgetDam extends XBranchSelectWidget implements IAttr @Override public void saveToArtifact() throws OseeCoreException { - IOseeBranch selection = getSelection(); + BranchId selection = getSelection(); if (selection == null) { artifact.deleteAttributes(attributeType); } else { @@ -72,7 +73,7 @@ public class XBranchSelectWidgetDam extends XBranchSelectWidget implements IAttr if (isEditable()) { try { Long storedUuid = getStoredUuid(); - IOseeBranch widgetInput = getSelection(); + BranchId widgetInput = getSelection(); Long widgetUuid = widgetInput == null ? 0L : widgetInput.getUuid(); if (!storedUuid.equals(widgetUuid)) { return new Result(true, getAttributeType() + " is dirty"); |