public abstract class PackagingElementType<E extends PackagingElement<?>>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<PackagingElementType> |
EP_NAME |
Modifier | Constructor and Description |
---|---|
protected |
PackagingElementType(java.lang.String id,
java.lang.String presentableName) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canCreate(ArtifactEditorContext context,
Artifact artifact) |
abstract java.util.List<? extends PackagingElement<?>> |
chooseAndCreate(ArtifactEditorContext context,
Artifact artifact,
CompositePackagingElement<?> parent) |
PackagingElementPropertiesPanel |
createElementPropertiesPanel(E element,
ArtifactEditorContext context) |
abstract E |
createEmpty(Project project) |
javax.swing.Icon |
getCreateElementIcon() |
java.lang.String |
getId() |
protected static <T extends PackagingElementType<?>> |
getInstance(java.lang.Class<T> aClass) |
java.lang.String |
getPresentableName() |
public static final ExtensionPointName<PackagingElementType> EP_NAME
protected PackagingElementType(java.lang.String id, java.lang.String presentableName)
public final java.lang.String getId()
public java.lang.String getPresentableName()
public javax.swing.Icon getCreateElementIcon()
public abstract boolean canCreate(ArtifactEditorContext context, Artifact artifact)
public abstract java.util.List<? extends PackagingElement<?>> chooseAndCreate(ArtifactEditorContext context, Artifact artifact, CompositePackagingElement<?> parent)
protected static <T extends PackagingElementType<?>> T getInstance(java.lang.Class<T> aClass)
public PackagingElementPropertiesPanel createElementPropertiesPanel(E element, ArtifactEditorContext context)