summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-10-01 07:29:56 (EDT)
committerRobert Sauer2012-10-01 07:29:56 (EDT)
commit0d8e8b997472c20fbeeb9ac1baf2e545d53f0dc2 (patch)
tree09a983245e67e6f873e2f544d6bc1fd7da90a931
parent8ae2986903b763e57d6f4b17743003524756a1aa (diff)
downloadorg.eclipse.stardust.ide-0d8e8b997472c20fbeeb9ac1baf2e545d53f0dc2.zip
org.eclipse.stardust.ide-0d8e8b997472c20fbeeb9ac1baf2e545d53f0dc2.tar.gz
org.eclipse.stardust.ide-0d8e8b997472c20fbeeb9ac1baf2e545d53f0dc2.tar.bz2
Jira-ID: CRNT-26425
The default selection for "Audit Trail Persistence" checkbox is null/blank. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@59682 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessDefinitionGeneralPropertyPage.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessDefinitionGeneralPropertyPage.java b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessDefinitionGeneralPropertyPage.java
index 770ba98..ceb5412 100644
--- a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessDefinitionGeneralPropertyPage.java
+++ b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessDefinitionGeneralPropertyPage.java
@@ -22,10 +22,12 @@ import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.stardust.common.StringUtils;
+import org.eclipse.stardust.engine.core.persistence.jdbc.transientpi.AuditTrailPersistence;
import org.eclipse.stardust.model.xpdl.carnot.AttributeType;
import org.eclipse.stardust.model.xpdl.carnot.IExtensibleElement;
import org.eclipse.stardust.model.xpdl.carnot.IModelElement;
import org.eclipse.stardust.model.xpdl.carnot.IModelElementNodeSymbol;
+import org.eclipse.stardust.model.xpdl.carnot.Model_Messages;
import org.eclipse.stardust.model.xpdl.carnot.ProcessDefinitionType;
import org.eclipse.stardust.model.xpdl.carnot.util.AttributeUtil;
import org.eclipse.stardust.model.xpdl.carnot.util.ModelUtils;
@@ -66,6 +68,10 @@ public class ProcessDefinitionGeneralPropertyPage extends IdentifiablePropertyPa
isAuditTrailPersistent = true;
comboViewer.setSelection(new StructuredSelection(auditTrailPersistence));
}
+ else
+ {
+ comboViewer.getCombo().select(0);
+ }
comboViewer.getCombo().setEnabled(isAuditTrailPersistent);
}