public abstract class FacetBasedPackagingSourceItemsProvider<F extends Facet,E extends PackagingElement<?>> extends PackagingSourceItemsProvider
Modifier and Type | Class and Description |
---|---|
protected static class |
FacetBasedPackagingSourceItemsProvider.FacetBasedSourceItem<F extends Facet> |
EP_NAME
Modifier | Constructor and Description |
---|---|
protected |
FacetBasedPackagingSourceItemsProvider(FacetTypeId<F> facetTypeId,
PackagingElementType<E> elementType) |
Modifier and Type | Method and Description |
---|---|
protected abstract PackagingElement<?> |
createElement(ArtifactEditorContext context,
F facet) |
protected abstract TreeNodePresentation |
createPresentation(F facet) |
protected abstract F |
getFacet(E element) |
protected PackagingElementOutputKind |
getKindOfProducedElements() |
java.util.Collection<? extends PackagingSourceItem> |
getSourceItems(ArtifactEditorContext editorContext,
Artifact artifact,
PackagingSourceItem parent)
Return items which should be shown be shown under
parent node in 'Available Elements' tree for artifact . |
protected FacetBasedPackagingSourceItemsProvider(FacetTypeId<F> facetTypeId, PackagingElementType<E> elementType)
public java.util.Collection<? extends PackagingSourceItem> getSourceItems(ArtifactEditorContext editorContext, Artifact artifact, PackagingSourceItem parent)
PackagingSourceItemsProvider
parent
node in 'Available Elements' tree for artifact
.getSourceItems
in class PackagingSourceItemsProvider
protected PackagingElementOutputKind getKindOfProducedElements()
protected abstract TreeNodePresentation createPresentation(F facet)
protected abstract PackagingElement<?> createElement(ArtifactEditorContext context, F facet)