public class ArtifactRootElementImpl extends ArtifactRootElement<java.lang.Object>
Constructor and Description |
---|
ArtifactRootElementImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeRenamed() |
PackagingElementPresentation |
createPresentation(ArtifactEditorContext context) |
java.lang.String |
getName() |
java.lang.Object |
getState() |
void |
loadState(java.lang.Object state)
This method is called when new component state is loaded.
|
void |
rename(java.lang.String newName) |
java.lang.String |
toString() |
isEqualTo
addFirstChild, addOrFindChild, addOrFindChildren, findCompositeChild, getChildren, moveChild, removeAllChildren, removeChild, removeChildren
getFilesKind, getType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initializeComponent, noStateLoaded
public PackagingElementPresentation createPresentation(ArtifactEditorContext context)
createPresentation
in class PackagingElement<java.lang.Object>
public java.lang.Object getState()
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(java.lang.Object state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public boolean canBeRenamed()
canBeRenamed
in interface RenameablePackagingElement
canBeRenamed
in class CompositePackagingElement<java.lang.Object>
public void rename(java.lang.String newName)
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object