See: Description
| Interface | Description |
|---|---|
| Perspective |
Define a group of components which are showed in the banner.
|
Perspective API,
and Lookup API as dependencies.@ServiceProvider annotation to your class to be found by
the system, like @ServiceProvider(service = Perspective.class, position = 500).PerspectiveMember interfaceisMemberOf() method. Simply test if the given
perspective is the one you want to attach the component. For default perspectives, first
add a dependency to the DesktopPerspective module and then for instance with preview:
public boolean isMemberOf(Perspective perspective) {
return perspective instanceof PreviewPerspective;
}TopComponent identifier for the getTopComponentId()
method. The identifier is defined in the TopComponent annotations.@ServiceProvider annotation to your class to be found by
the system, like @ServiceProvider(service = PerspectiveMember.class).Copyright © 2007–2015 Gephi Consortium. All rights reserved.