Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan E. Cook2016-08-25 13:55:21 -0400
committerdonald.g.dunne2016-09-01 20:21:30 -0400
commit1f3d1806c2e0caeb92dc9387d39fbde91c1b84d9 (patch)
treedf6bbfa88fc41ab5e4062953707cd1ebdb102b4e
parentdc7ba49b07fb727736ecbb9219c59339df1fa519 (diff)
downloadorg.eclipse.osee-1f3d1806c2e0caeb92dc9387d39fbde91c1b84d9.tar.gz
org.eclipse.osee-1f3d1806c2e0caeb92dc9387d39fbde91c1b84d9.tar.xz
org.eclipse.osee-1f3d1806c2e0caeb92dc9387d39fbde91c1b84d9.zip
bug: Check if column is Multi-Line Edit
Change-Id: Ic089bd64f18de98bbfb04fce81a4907bd5989029 Signed-off-by: Morgan E. Cook <Morgan.e.cook@boeing.com>
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/massEditor/MassXViewer.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/massEditor/MassXViewer.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/massEditor/MassXViewer.java
index f3d16d2638..7c4a71569e 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/massEditor/MassXViewer.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/massEditor/MassXViewer.java
@@ -21,6 +21,7 @@ import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.nebula.widgets.xviewer.XViewer;
+import org.eclipse.nebula.widgets.xviewer.core.model.XViewerColumn;
import org.eclipse.osee.framework.access.AccessControlManager;
import org.eclipse.osee.framework.core.data.IAttributeType;
import org.eclipse.osee.framework.core.enums.PermissionEnum;
@@ -143,7 +144,9 @@ public class MassXViewer extends XViewer implements IMassViewerEventHandler {
if (attributeType != null) {
Artifact useArt = (Artifact) treeItem.getData();
boolean persist = false;
- if (ArtifactPromptChange.promptChangeAttribute(attributeType, Arrays.asList(useArt), persist)) {
+ boolean multiColumnEditable = ((XViewerColumn) treeColumn.getData()).isMultiColumnEditable();
+ if (ArtifactPromptChange.promptChangeAttribute(attributeType, Arrays.asList(useArt), persist,
+ multiColumnEditable)) {
refresh();
editor.onDirtied();
return true;

Back to the top