Preview API
,
Graph API
, AttributesAPI
and
Lookup
as dependencies.Item
or
extends AbstractItem
. The AbstractItem
class is located in the PreviewPlugin
module so add
it as dependency first. An item should be very simple but has a
unique identifier returned by its getType()
method.ItemBuilder
getType()
method and returns the same
identifier than the Item
you created earlier.getItems()
method by retrieving objects
from the given graph.ItemBuilder
as the
annotation parameter.Preview API
,
GraphAPI
, Processing Wrapper
,
iText Wrapper
and Lookup
as dependencies.Renderer
.Renderer
as the
annotation parameter.ItemBuilder
for the
type Item.Node
. Simply return item objects with the data you
want to add. The system will automatically merge your new data to node items.
@ServiceProvider
annotation
with the renderer path it is overriding:
@ServiceProvider(service=Renderer.class, supersedes="org.gephi.preview.plugin.renderers.NodeRenderer")
@ServiceProvider(service=Renderer.class, supersedes="org.gephi.preview.plugin.renderers.EdgeRenderer")
@ServiceProvider(service=Renderer.class, supersedes="org.gephi.preview.plugin.renderers.NodeLabelRenderer")
@ServiceProvider(service=Renderer.class, supersedes="org.gephi.preview.plugin.renderers.EdgeLabelRenderer")
@ServiceProvider(service=Renderer.class, supersedes="org.gephi.preview.plugin.renderers.ArrowRenderer")
PreviewModel
and therefore PreviewProperties
.
Preview API
and
Lookup
as dependencies.PreviewUI
and implements
methods.PreviewUI
as the
'service' annotation parameter.