@MetaInfServices(value=VisualizationProvider.class) public class DummyVP extends Object implements VisualizationProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
ID
the
id of this VisualizationProvider. |
| Constructor and Description |
|---|
DummyVP() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkUsable()
Checks whether the provider is supported on the current platform.
|
String |
getId()
Returns the id of the visualization provider.
|
int |
getPriority()
Returns the priority of the provider.
|
<N,E> void |
visualize(Graph<N,E> graph,
List<VisualizationHelper<N,? super E>> additionalHelpers,
boolean modal,
Map<String,String> options)
Visualizes the given graph by means of executing the visualization implementation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionpublic static final String ID
id of this VisualizationProvider.public String getId()
VisualizationProviderAutomataLibProperty.VISUALIZATION_PROVIDER property to select the chosen visualization
provider.getId in interface VisualizationProviderpublic int getPriority()
VisualizationProviderAutomataLibProperty.VISUALIZATION_PROVIDER property, the provider with the highest
priority is chosen.getPriority in interface VisualizationProviderpublic boolean checkUsable()
VisualizationProvidercheckUsable in interface VisualizationProvidertrue if the provider is able to visualiza, false otherwiseVisualizationProvider.visualize(Graph, List, boolean, Map)public <N,E> void visualize(Graph<N,E> graph, List<VisualizationHelper<N,? super E>> additionalHelpers, boolean modal, Map<String,String> options)
VisualizationProvidervisualize in interface VisualizationProviderN - the node type of the graph modelE - the edge type of the graph modelgraph - the graph model to visualizeadditionalHelpers - additional helpers to influence the visualizationmodal - a flag, whether the visualized graph should be displayed in a modal dialog (halting the current program
execution) or not.options - additional options for the providerCopyright © 2020. All rights reserved.