_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
_documentStates.add(ProgressState.inDRAFT);
}
}
-
+ }
} else {
if (!(Constants.NONE.equals(getToolProperty()))) {
initializationFullScreenContext(Constants.STUDY_MENU,