Public Member Functions

com.google.security.zynamics.binnavi.API.plugins.PluginInterface Class Reference

Inherits com::google::security::zynamics::binnavi::api2::IPluginInterface.

List of all members.

Public Member Functions

DatabaseManager getDatabaseManager ()
MainWindow getMainWindow ()
String getProgramPath ()
View2D showInLastWindow (final View view)
View2D showInNewWindow (final View view)
View2D showInWindow (final GraphWindow window, final View view)
String toString ()

Detailed Description

The PluginInterface class is the class that plugins and scripts use to interact with com.google.security.zynamics.binnavi.

Instances of this class are passed to all plugins and scripts that want to interact with com.google.security.zynamics.binnavi.


Member Function Documentation

DatabaseManager com.google.security.zynamics.binnavi.API.plugins.PluginInterface.getDatabaseManager (  ) 

Returns the database manager that contains all databases known to com.google.security.zynamics.binnavi.

Returns:
The database manager.
MainWindow com.google.security.zynamics.binnavi.API.plugins.PluginInterface.getMainWindow (  ) 

Returns the main window object. This object represents the BinNavi window that contains the project tree.

Returns:
The BinNavi main window.
String com.google.security.zynamics.binnavi.API.plugins.PluginInterface.getProgramPath (  ) 

Returns the path to the BinNavi JAR file.

Returns:
The path to the BinNavi JAR file.
View2D com.google.security.zynamics.binnavi.API.plugins.PluginInterface.showInLastWindow ( final View  view  ) 

Shows a view in the last window.

Parameters:
view The view to show.
Returns:
The view2d object that is shown.
View2D com.google.security.zynamics.binnavi.API.plugins.PluginInterface.showInNewWindow ( final View  view  ) 

Shows a view in a new window.

Parameters:
view The view to show.
Returns:
The view2d object that is shown.
View2D com.google.security.zynamics.binnavi.API.plugins.PluginInterface.showInWindow ( final GraphWindow  window,
final View  view 
)

Shows a view in a given window.

Parameters:
window The window where the view is shown.
view The view to show.
Returns:
The view2d object that is shown.
String com.google.security.zynamics.binnavi.API.plugins.PluginInterface.toString (  ) 

Returns the string representation of the plugin interface.

Returns:
The string representation of the plugin interface.