Search in sources :

Example 1 with ElementChangeEvent

use of com.centurylink.mdw.plugin.designer.model.ElementChangeEvent in project mdw-designer by CenturyLinkCloud.

the class WorkflowProjectManager method fireProjectChangeEvent.

public void fireProjectChangeEvent(WorkflowProject workflowProject, ChangeType changeType) {
    for (ElementChangeListener listener : getElementChangeListeners()) {
        ElementChangeEvent ece = new ElementChangeEvent(changeType, workflowProject);
        ece.setNewValue(workflowProject);
        listener.elementChanged(ece);
    }
}
Also used : ElementChangeEvent(com.centurylink.mdw.plugin.designer.model.ElementChangeEvent) ElementChangeListener(com.centurylink.mdw.plugin.designer.model.ElementChangeListener)

Aggregations

ElementChangeEvent (com.centurylink.mdw.plugin.designer.model.ElementChangeEvent)1 ElementChangeListener (com.centurylink.mdw.plugin.designer.model.ElementChangeListener)1