public final class LayoutRegistry
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.Collection<org.java.plugin.registry.Extension> |
availableLayouts() |
int |
availableLayoutsCount() |
java.util.Collection<org.java.plugin.registry.Extension> |
availableRenderers() |
int |
availableRenderersCount() |
java.util.Collection<org.java.plugin.registry.Extension> |
availableStyles() |
int |
availableStylesCount() |
java.util.Collection<org.java.plugin.registry.Extension> |
getCompatibleLayouts(de.ims.icarus.util.data.ContentType type,
boolean includeCompatibleTypes)
Searches the collection of registered
GraphLayout extensions
for such that either declare the given ContentType as compatible
or are considered "general" layouts that do not rely on content types. |
java.util.Collection<org.java.plugin.registry.Extension> |
getCompatibleRenderers(de.ims.icarus.util.data.ContentType type,
boolean includeCompatibleTypes)
Searches the collection of registered
GraphRenderer extensions
for such that either declare the given ContentType as compatible
or are considered "general" renderers that do not rely on content types. |
java.util.Collection<org.java.plugin.registry.Extension> |
getCompatibleStyles(de.ims.icarus.util.data.ContentType type,
boolean includeCompatibleTypes)
Searches the collection of registered
GraphStyle extensions
for such that either declare the given ContentType as compatible
or are considered "general" styles that do not rely on content types. |
static LayoutRegistry |
getInstance() |
org.java.plugin.registry.Extension |
getLayout(java.lang.String id) |
org.java.plugin.registry.Extension |
getRenderer(java.lang.String id) |
org.java.plugin.registry.Extension |
getStyle(java.lang.String id) |
public static LayoutRegistry getInstance()
public int availableLayoutsCount()
public java.util.Collection<org.java.plugin.registry.Extension> availableLayouts()
public int availableStylesCount()
public java.util.Collection<org.java.plugin.registry.Extension> availableStyles()
public int availableRenderersCount()
public java.util.Collection<org.java.plugin.registry.Extension> availableRenderers()
public org.java.plugin.registry.Extension getLayout(java.lang.String id)
public org.java.plugin.registry.Extension getStyle(java.lang.String id)
public org.java.plugin.registry.Extension getRenderer(java.lang.String id)
public java.util.Collection<org.java.plugin.registry.Extension> getCompatibleLayouts(de.ims.icarus.util.data.ContentType type, boolean includeCompatibleTypes)
GraphLayout
extensions
for such that either declare the given ContentType
as compatible
or are considered "general" layouts that do not rely on content types.
If the includeCompatibleTypes
parameter is true
then
all content types that are compatible to type
as specified by
ContentTypeRegistry.isCompatible(ContentType, ContentType)
are used
to check for compatibility when searching layouts.public java.util.Collection<org.java.plugin.registry.Extension> getCompatibleStyles(de.ims.icarus.util.data.ContentType type, boolean includeCompatibleTypes)
GraphStyle
extensions
for such that either declare the given ContentType
as compatible
or are considered "general" styles that do not rely on content types.
If the includeCompatibleTypes
parameter is true
then
all content types that are compatible to type
as specified by
ContentTypeRegistry.isCompatible(ContentType, ContentType)
are used
to check for compatibility when searching styles.public java.util.Collection<org.java.plugin.registry.Extension> getCompatibleRenderers(de.ims.icarus.util.data.ContentType type, boolean includeCompatibleTypes)
GraphRenderer
extensions
for such that either declare the given ContentType
as compatible
or are considered "general" renderers that do not rely on content types.
If the includeCompatibleTypes
parameter is true
then
all content types that are compatible to type
as specified by
ContentTypeRegistry.isCompatible(ContentType, ContentType)
are used
to check for compatibility when searching renderers.