Search in sources :

Example 1 with WorkItemsModelContent

use of org.drools.workbench.screens.workitems.model.WorkItemsModelContent in project drools-wb by kiegroup.

the class WorkItemsEditorServiceImpl method constructContent.

@Override
protected WorkItemsModelContent constructContent(Path path, Overview overview) {
    final String definition = load(path);
    final List<String> workItemImages = loadWorkItemImages(path);
    // Signal opening to interested parties
    resourceOpenedEvent.fire(new ResourceOpenedEvent(path, safeSessionInfo));
    return new WorkItemsModelContent(definition, overview, workItemImages);
}
Also used : WorkItemsModelContent(org.drools.workbench.screens.workitems.model.WorkItemsModelContent) ResourceOpenedEvent(org.uberfire.workbench.events.ResourceOpenedEvent)

Aggregations

WorkItemsModelContent (org.drools.workbench.screens.workitems.model.WorkItemsModelContent)1 ResourceOpenedEvent (org.uberfire.workbench.events.ResourceOpenedEvent)1