Search in sources :

Example 1 with GroupScriptIterator

use of edu.cmu.cs.hcii.cogtool.uimodel.GroupScriptUIModel.GroupScriptIterator in project cogtool by cogtool.

the class ScriptViewerUI method updateView.

/**
     * Update the view: Set the View's List with the current ScriptSteps
     */
@Override
protected void updateView() {
    GroupScriptIterator groupSteps = uiModel.getScriptUIModel().getGroupSteps();
    SWTListGroupScript swtList = view.getScriptEditorList();
    swtList.setGroupListContents(groupSteps);
    swtList.addListItem(swtList.getDestinationFrame());
}
Also used : GroupScriptIterator(edu.cmu.cs.hcii.cogtool.uimodel.GroupScriptUIModel.GroupScriptIterator) SWTListGroupScript(edu.cmu.cs.hcii.cogtool.view.SWTListGroupScript)

Aggregations

GroupScriptIterator (edu.cmu.cs.hcii.cogtool.uimodel.GroupScriptUIModel.GroupScriptIterator)1 SWTListGroupScript (edu.cmu.cs.hcii.cogtool.view.SWTListGroupScript)1