public abstract class CompositePackagingElementType<E extends CompositePackagingElement<?>> extends PackagingElementType<E>
EP_NAME
Modifier | Constructor and Description |
---|---|
protected |
CompositePackagingElementType(java.lang.String id,
java.lang.String presentableName) |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreate(ArtifactEditorContext context,
Artifact artifact) |
java.util.List<? extends PackagingElement<?>> |
chooseAndCreate(ArtifactEditorContext context,
Artifact artifact,
CompositePackagingElement<?> parent) |
abstract CompositePackagingElement<?> |
createComposite(CompositePackagingElement<?> parent,
java.lang.String baseName,
ArtifactEditorContext context) |
createElementPropertiesPanel, createEmpty, getCreateElementIcon, getId, getInstance, getPresentableName
protected CompositePackagingElementType(java.lang.String id, java.lang.String presentableName)
public boolean canCreate(ArtifactEditorContext context, Artifact artifact)
canCreate
in class PackagingElementType<E extends CompositePackagingElement<?>>
public abstract CompositePackagingElement<?> createComposite(CompositePackagingElement<?> parent, java.lang.String baseName, ArtifactEditorContext context)
public java.util.List<? extends PackagingElement<?>> chooseAndCreate(ArtifactEditorContext context, Artifact artifact, CompositePackagingElement<?> parent)
chooseAndCreate
in class PackagingElementType<E extends CompositePackagingElement<?>>