public class InvalidFacetType extends FacetType<InvalidFacet,InvalidFacetConfiguration>
| Modifier and Type | Field and Description |
|---|---|
static FacetTypeId<InvalidFacet> |
TYPE_ID |
| Constructor and Description |
|---|
InvalidFacetType() |
| Modifier and Type | Method and Description |
|---|---|
InvalidFacetConfiguration |
createDefaultConfiguration()
Create default configuration of facet.
|
InvalidFacet |
createFacet(Module module,
java.lang.String name,
InvalidFacetConfiguration configuration,
Facet underlyingFacet)
Create a new facet instance.
|
MultipleFacetSettingsEditor |
createMultipleConfigurationsEditor(Project project,
FacetEditor [] editors)
Override to allow editing several facets at once.
|
javax.swing.Icon |
getIcon() |
static InvalidFacetType |
getInstance() |
boolean |
isOnlyOneFacetAllowed() |
boolean |
isSuitableModuleType(ModuleType moduleType) |
createDefaultConfigurationEditor, findInstance, getDefaultFacetName, getHelpTopic, getId, getPluginDescriptor, getPresentableName, getStringId, getUnderlyingFacetType, registerDetectors, setPluginDescriptorpublic static final FacetTypeId<InvalidFacet> TYPE_ID
public static InvalidFacetType getInstance()
public InvalidFacetConfiguration createDefaultConfiguration()
FacetTypeFacetConfiguration for details.createDefaultConfiguration in class FacetType<InvalidFacet,InvalidFacetConfiguration>public InvalidFacet createFacet(Module module, java.lang.String name, InvalidFacetConfiguration configuration, Facet underlyingFacet)
FacetTypecreateFacet in class FacetType<InvalidFacet,InvalidFacetConfiguration>module - parent module for facet. Must be passed to Facet constructorname - name of facet. Must be passed to Facet constructorconfiguration - facet configuration. Must be passed to Facet constructorunderlyingFacet - underlying facet. Must be passed to Facet constructorpublic boolean isSuitableModuleType(ModuleType moduleType)
isSuitableModuleType in class FacetType<InvalidFacet,InvalidFacetConfiguration>moduleType - type of moduletrue if facet of this type are allowed in module of type moduleTypepublic boolean isOnlyOneFacetAllowed()
isOnlyOneFacetAllowed in class FacetType<InvalidFacet,InvalidFacetConfiguration>true if only one facet of this type is allowed within the containing module (if this type doesn't have the underlying
facet type) or within the underlying facetpublic MultipleFacetSettingsEditor createMultipleConfigurationsEditor(Project project, FacetEditor [] editors)
FacetTypecreateMultipleConfigurationsEditor in class FacetType<InvalidFacet,InvalidFacetConfiguration>project - projecteditors - editors of selected facetspublic javax.swing.Icon getIcon()
getIcon in class FacetType<InvalidFacet,InvalidFacetConfiguration>