use of org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.FlatComponentTaskModel in project webtools.sourceediting by eclipse.
the class FlatComponentDeployable method getFlatComponent.
/**
* The export model is what does the grunt of the work
* @return
*/
protected IFlatVirtualComponent getFlatComponent() {
if (!shouldCache() || cacheFlattened == null) {
FlatComponentTaskModel options = new FlatComponentTaskModel();
options.put(FlatVirtualComponent.PARTICIPANT_LIST, Arrays.asList(getParticipants()));
FlatVirtualComponent tmp = new FlatVirtualComponent(component, options);
if (shouldCache())
cacheFlattened = tmp;
return tmp;
}
return cacheFlattened;
}
Aggregations