Commit 84d61f8b authored by Alexander Diewald's avatar Alexander Diewald
Browse files

DSE.UI Synth: Disable UI updates for missing DSE project

Issue-Ref: 4064
Issue-Url: https://af3-developer.fortiss.org/issues/4064

Signed-off-by: Alexander Diewald's avatarAlexander Diewald <diewald@fortiss.org>
parent 8241650a
......@@ -3,5 +3,5 @@ SolverSettingsDialog.java 25b3541fc6eab090500321fa32a3f68992fff0a0 GREEN
SolverSettingsTreeTableViewer.java 279e92b20a6b48e8e99ea7a2039fef419ea42826 GREEN
SynthesisCategoryExplorationTargetContentProvider.java 410f00e07b5f4208b762b80baf563b2b73a93a71 GREEN
SynthesisCategoryRuleSetContentProvider.java 039913dba18b0248d10a77275258bc9acf9526cf GREEN
SynthesisFXContentController.java 50e97d06c11c2bb24cd8da4d975191e269b6188f GREEN
SynthesisFXContentController.java 8ea19df45819a0622e77a4a1e82d9e34964306c4 YELLOW
SynthesisFXViewPart.java e40c2bd501d87b41c6324ab80fd34e64410db644 GREEN
......@@ -22,6 +22,7 @@ import static javafx.collections.FXCollections.observableArrayList;
import static org.eclipse.core.runtime.Assert.isTrue;
import static org.fortiss.af3.exploration.service.IDSEBackend.EXPLORATION_TYPE.FEASIBILITY_CHECK;
import static org.fortiss.af3.exploration.service.IDSEBackend.EXPLORATION_TYPE.OPTIMIZATION;
import static org.fortiss.af3.exploration.ui.perspective.service.IEventListener.DSE_EVENT.DSE_SELECTED_EVENT;
import static org.fortiss.af3.exploration.ui.perspective.service.IEventListener.DSE_EVENT.PROCESS_STEP_ADDED;
import static org.fortiss.af3.exploration.ui.perspective.service.IEventListener.DSE_EVENT.RULE_SET_ADDED;
import static org.fortiss.af3.exploration.ui.perspective.service.IEventListener.DSE_EVENT.RULE_SET_CHANGED;
......@@ -570,6 +571,10 @@ public class SynthesisFXContentController extends CompositeFXControllerBase<Anch
/** {@inheritDoc} */
@Override
public void propertyChanged(Object source, DSE_EVENT event) {
if(activeDse == null || event != DSE_SELECTED_EVENT) {
return;
}
switch(event) {
case EXP_TARGET_ADDED:
updateTgtRuleSetLists();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment