public class FacetFromExternalSourcesStorage extends java.lang.Object implements PersistentStateComponent<FacetManagerState>, ProjectModelElement
| Constructor and Description |
|---|
FacetFromExternalSourcesStorage(Module module) |
| Modifier and Type | Method and Description |
|---|---|
ProjectModelExternalSource |
getExternalSource()
Return non-null value if this element was automatically created by the IDE during importing from some external project system rather
than created by user manually via UI.
|
static FacetFromExternalSourcesStorage |
getInstance(Module module) |
FacetManagerState |
getState() |
void |
loadState(FacetManagerState state)
This method is called when new component state is loaded.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadedpublic FacetFromExternalSourcesStorage(Module module)
public static FacetFromExternalSourcesStorage getInstance(Module module)
public FacetManagerState getState()
getState in interface PersistentStateComponent<FacetManagerState>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic ProjectModelExternalSource getExternalSource()
ProjectModelElementgetExternalSource in interface ProjectModelElementpublic void loadState(FacetManagerState state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<FacetManagerState>state - loaded component stateXmlSerializerUtil.copyBean(Object, Object)