Package org.gephi.perspective.spi
Interface Perspective
-
public interface PerspectiveDefine a group of components which are showed in the banner. Overview, Data Laboratory and Preview are perspectives.Create a new Perspective
- Create a new module and set
Perspective API, andLookup APIas dependencies. - Create a new implementation of perspective and fill methods.
- Add
@ServiceProviderannotation to your class to be found by the system, like @ServiceProvider(service = Perspective.class, position = 500). - Set the position to define the order of appearance, Overview is 100, Preview is 300.
- Author:
- Mathieu Bastian
- Create a new module and set
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDisplayName()Return the name to display in the user interface.IcongetIcon()Return the icon of the perspective.StringgetName()Return a unique identifier for this perspective.
-
-
-
Method Detail
-
getDisplayName
String getDisplayName()
Return the name to display in the user interface.- Returns:
- the perspective display name
-
getName
String getName()
Return a unique identifier for this perspective.- Returns:
- the name of the perspective
-
getIcon
Icon getIcon()
Return the icon of the perspective.- Returns:
- the perspective's icon, or
null
-
-