]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman/src/org/splat/simer/VersionDocumentAction.java
Salome HOME
Integration of ISR fixes:
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / VersionDocumentAction.java
index 9bf95254904220d155609e52c3341f4d022a35f5..90fe6d9ccdb7fd71f72be758c2e1720f9ef0299c 100644 (file)
@@ -93,6 +93,9 @@ public class VersionDocumentAction extends BaseUploadDocumentAction {
                        _usedby.addAll(tag.getRelations(UsedByRelation.class));
 
                        // Initialize applicable states list
+                       if(tag.value().getProgressState() == ProgressState.EXTERN) {
+                               _documentStates.add(ProgressState.EXTERN);
+                       } else {
                        _documentStates.add(ProgressState.inWORK);
                        if (_deftype != null) {
                                // Check if the validation cycle of the document type can has a review state
@@ -102,7 +105,7 @@ public class VersionDocumentAction extends BaseUploadDocumentAction {
                                        _documentStates.add(ProgressState.inDRAFT);
                                }
                        }
-
+                       }
                } else {
                        if (!(Constants.NONE.equals(getToolProperty()))) {
                                initializationFullScreenContext(Constants.STUDY_MENU,