public abstract class FacetManager extends java.lang.Object implements FacetModel
Modifier and Type | Field and Description |
---|---|
static Topic<FacetManagerListener> |
FACETS_TOPIC |
Constructor and Description |
---|
FacetManager() |
Modifier and Type | Method and Description |
---|---|
abstract <F extends Facet<?>,C extends FacetConfiguration> |
addFacet(FacetType<F,C> type,
java.lang.String name,
Facet<?> underlying) |
abstract <F extends Facet<?>,C extends FacetConfiguration> |
createFacet(FacetType<F,C> type,
java.lang.String name,
C configuration,
Facet<?> underlying) |
abstract <F extends Facet<?>,C extends FacetConfiguration> |
createFacet(FacetType<F,C> type,
java.lang.String name,
Facet<?> underlying) |
abstract ModifiableFacetModel |
createModifiableModel()
Creates the interface for modifying set of facets in the module.
|
abstract void |
facetConfigurationChanged(Facet<?> facet)
This method must be called when configuration of
facet is changed via its API. |
static FacetManager |
getInstance(Module module) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findFacet, getAllFacets, getFacetByType, getFacetByType, getFacetName, getFacetsByType, getFacetsByType, getSortedFacets
public static final Topic<FacetManagerListener> FACETS_TOPIC
public static FacetManager getInstance(Module module)
public abstract ModifiableFacetModel createModifiableModel()
ModifiableFacetModel.commit()
when modification is finishedpublic abstract <F extends Facet<?>,C extends FacetConfiguration> F createFacet(FacetType<F,C> type, java.lang.String name, C configuration, Facet<?> underlying)
public abstract <F extends Facet<?>,C extends FacetConfiguration> F createFacet(FacetType<F,C> type, java.lang.String name, Facet<?> underlying)
public abstract <F extends Facet<?>,C extends FacetConfiguration> F addFacet(FacetType<F,C> type, java.lang.String name, Facet<?> underlying)
public abstract void facetConfigurationChanged(Facet<?> facet)
facet
is changed via its API.