.getProgressState() == ProgressState.inDRAFT)
&& _isauthor;
}
+
+ /**
+ * Check if the user can remove the selected scenario.
+ *
+ * @return true if the user can remove the scenario
+ */
+ public boolean canRemoveScenario() {
+ return (_operand.getProgressState() == ProgressState.inWORK
+ || _operand.getProgressState() == ProgressState.inDRAFT)
+ && _isauthor && _operand.getScenariiList().size() > 1;
+ }
/**
* Check if the user can version the study.