public class ProjectFacetsConfigurator extends java.lang.Object implements FacetsProvider
Constructor and Description |
---|
ProjectFacetsConfigurator(StructureConfigurableContext context,
ProjectFacetsConfigurator facetsConfigurator) |
public ProjectFacetsConfigurator(StructureConfigurableContext context, ProjectFacetsConfigurator facetsConfigurator)
public Facet createAndAddFacet(Module module, FacetType<?,?> type, Facet underlying)
public void addFacetInfo(Facet facet)
public void addFacetInfos(Module module)
public void clearMaps()
public ModifiableFacetModel getOrCreateModifiableModel(Module module)
public FacetEditorImpl getEditor(Facet facet)
public FacetEditorImpl getOrCreateEditor(Facet facet)
protected FacetEditorContext createContext(Facet facet, FacetEditorContext parentContext)
public FacetModel getFacetModel(Module module)
public void commitFacets()
public void resetEditors()
public void applyEditors() throws ConfigurationException
ConfigurationException
public boolean isModified()
public FacetTreeModel getTreeModel(Module module)
public void disposeEditors()
public Facet [] getAllFacets(Module module)
getAllFacets
in interface FacetsProvider
public <F extends Facet> java.util.Collection<F> getFacetsByType(Module module, FacetTypeId<F> type)
getFacetsByType
in interface FacetsProvider
public <F extends Facet> F findFacet(Module module, FacetTypeId<F> type, java.lang.String name)
findFacet
in interface FacetsProvider
public java.lang.String getFacetName(Facet facet)
public boolean hasFacetOfType(Module module, Facet parent, FacetTypeId<?> typeId)