use of pcgen.output.actor.FactSetKeyActor in project pcgen by PCGen.
the class FactSetDefinition method activateOutput.
/**
* @see pcgen.cdom.content.ContentDefinition#activateOutput(DataSetID)
*/
@Override
protected void activateOutput(DataSetID dsID) {
FactSetKeyActor<F> fca = new FactSetKeyActor<>(getFactSetKey());
CDOMWrapperInfoFacet wiFacet = FacetLibrary.getFacet(CDOMWrapperInfoFacet.class);
if (!wiFacet.set(dsID, getUsableLocation(), factSetName.toLowerCase(), fca)) {
Logging.errorPrint(getUsableLocation().getSimpleName() + " output " + factSetName.toLowerCase() + " already exists, ignoring Visibility to EXPORT for FACTSET: " + factSetName);
}
}
Aggregations