public abstract class ModulePackagingElementBase extends PackagingElement<ModulePackagingElementState> implements ModulePackagingElement
| Modifier and Type | Field and Description |
|---|---|
protected ModulePointer |
myModulePointer |
protected Project |
myProject |
| Constructor and Description |
|---|
ModulePackagingElementBase(PackagingElementType type,
Project project) |
ModulePackagingElementBase(PackagingElementType type,
Project project,
ModulePointer modulePointer) |
| Modifier and Type | Method and Description |
|---|---|
Module |
findModule(PackagingElementResolvingContext context) |
java.lang.String |
getModuleName() |
ModulePackagingElementState |
getState() |
boolean |
isEqualTo(PackagingElement<?> element) |
void |
loadState(ModulePackagingElementState state)
This method is called when new component state is loaded.
|
createPresentation, getFilesKind, getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSourceRootsinitializeComponent, noStateLoadedprotected final Project myProject
protected ModulePointer myModulePointer
public ModulePackagingElementBase(PackagingElementType type, Project project, ModulePointer modulePointer)
public ModulePackagingElementBase(PackagingElementType type, Project project)
public boolean isEqualTo(PackagingElement<?> element)
isEqualTo in class PackagingElement<ModulePackagingElementState>public ModulePackagingElementState getState()
getState in interface PersistentStateComponent<ModulePackagingElementState>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic void loadState(ModulePackagingElementState state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<ModulePackagingElementState>state - loaded component stateXmlSerializerUtil.copyBean(Object, Object)public java.lang.String getModuleName()
getModuleName in interface ModulePackagingElementpublic Module findModule(PackagingElementResolvingContext context)
findModule in interface ModulePackagingElement