org.gudy.azureus2.plugins.ui
Interface UIPluginView

All Known Subinterfaces:
MdiEntry, MdiEntrySWT, UISWTView, UISWTViewCore
All Known Implementing Classes:
BaseMdiEntry, SideBarEntrySWT, TabbedEntry, UISWTViewImpl

public interface UIPluginView

All plugin views should inherit from this interface so that we can always check to see if they are a plugin view.

Any non generic UI plugin view functions are placed here, and every UI should implement them.

Since:
2.3.0.5
Author:
TuxPaper
See Also:
UISWTView

Method Summary
 void closeView()
          Closes the view
 java.lang.Object getDataSource()
          Retrieve the data sources related to this view.
 PluginInterface getPluginInterface()
          Gets the plugin interface associated with this view, null if none defined
 UIPluginViewToolBarListener getToolBarListener()
           
 java.lang.String getViewID()
          ID of the view
 void setToolBarListener(UIPluginViewToolBarListener l)
           
 

Method Detail

getDataSource

java.lang.Object getDataSource()
Retrieve the data sources related to this view.

Returns:
dependent upon subclasses implementation

getViewID

java.lang.String getViewID()
ID of the view

Returns:
ID of the view
Since:
2.3.0.6

closeView

void closeView()
Closes the view

Since:
2.3.0.6

getPluginInterface

PluginInterface getPluginInterface()
Gets the plugin interface associated with this view, null if none defined

Since:
4.5.1.1

setToolBarListener

void setToolBarListener(UIPluginViewToolBarListener l)
Since:
4.6.0.5

getToolBarListener

UIPluginViewToolBarListener getToolBarListener()
Since:
4.6.0.5