Search in sources :

Example 1 with FlatVirtualComponent

use of org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent 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;
}
Also used : FlatComponentTaskModel(org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.FlatComponentTaskModel) FlatVirtualComponent(org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent) IFlatVirtualComponent(org.eclipse.wst.common.componentcore.internal.flat.IFlatVirtualComponent)

Aggregations

FlatVirtualComponent (org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent)1 FlatComponentTaskModel (org.eclipse.wst.common.componentcore.internal.flat.FlatVirtualComponent.FlatComponentTaskModel)1 IFlatVirtualComponent (org.eclipse.wst.common.componentcore.internal.flat.IFlatVirtualComponent)1