|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xnap.plugin.AbstractPlugin
org.xnap.plugin.freeway.FreewayPlugin
public class FreewayPlugin
| Field Summary | |
|---|---|
static javax.swing.Icon |
ICON_16
|
static java.lang.String |
ICON_FILENAME
|
| Fields inherited from interface org.gnu.freeway.protocol.afs.swing.SController |
|---|
QUIT_EVENT |
| Constructor Summary | |
|---|---|
FreewayPlugin()
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener arg0)
|
void |
addPropertyChangeListener(java.lang.String arg0,
java.beans.PropertyChangeListener arg1)
|
org.gnu.freeway.DaemonSocket |
connect()
|
void |
displayDirectory(java.lang.String arg0,
org.gnu.freeway.protocol.afs.esed2.NNode arg1)
|
void |
download(org.gnu.freeway.protocol.afs.esed2.NNode arg0)
|
void |
enterCritical()
|
void |
err(java.lang.String arg0,
java.lang.Throwable arg1)
|
org.gnu.freeway.Application |
getApplication()
|
java.io.File |
getCache()
|
static FreewayPlugin |
getInstance()
|
java.lang.String |
getName()
Returns the name of the search network that is displayed to the user. |
org.gnu.freeway.protocol.afs.esed2.Policy |
getPolicy()
|
org.gnu.freeway.Prefs |
getPreferences()
|
org.gnu.freeway.util.ui.UIResources |
getResources()
|
MediaType[] |
getSupportedMediaTypes()
Returns an array of MediaType objects that are supported
by the provider. |
void |
guiMessage(java.lang.String arg0)
|
void |
infoMessage(boolean arg0,
java.lang.String arg1)
|
void |
leaveCritical()
|
void |
log(java.util.logging.Level arg0,
java.lang.String arg1)
|
void |
refreshMenus()
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener arg0)
|
void |
removePropertyChangeListener(java.lang.String arg0,
java.beans.PropertyChangeListener arg1)
|
Search |
search(SearchFilter filter)
Invoked when a search is requested. |
org.gnu.freeway.util.Service |
service(java.lang.Class c)
|
void |
showStats()
|
void |
start()
Called each time the plugin is enabled. |
void |
startGUI()
Called each time the gui part of the plugin is enabled. |
void |
stop()
Called each time the plugin is disabled. |
void |
stopGUI()
Called each time the gui part of the plugin is disabled. |
| Methods inherited from class org.xnap.plugin.AbstractPlugin |
|---|
getInfo, setInfo, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ICON_FILENAME
public static final javax.swing.Icon ICON_16
| Constructor Detail |
|---|
public FreewayPlugin()
| Method Detail |
|---|
public static FreewayPlugin getInstance()
public org.gnu.freeway.Application getApplication()
getApplication in interface org.gnu.freeway.util.ui.Controllerpublic java.io.File getCache()
getCache in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic java.lang.String getName()
SearchProvider
getName in interface SearchProviderpublic org.gnu.freeway.protocol.afs.esed2.Policy getPolicy()
getPolicy in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic org.gnu.freeway.Prefs getPreferences()
getPreferences in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic org.gnu.freeway.util.ui.UIResources getResources()
getResources in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic MediaType[] getSupportedMediaTypes()
SearchProviderMediaType objects that are supported
by the provider.
getSupportedMediaTypes in interface SearchProviderpublic void addPropertyChangeListener(java.beans.PropertyChangeListener arg0)
addPropertyChangeListener in interface org.gnu.freeway.protocol.afs.swing.SController
public void addPropertyChangeListener(java.lang.String arg0,
java.beans.PropertyChangeListener arg1)
addPropertyChangeListener in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic org.gnu.freeway.DaemonSocket connect()
connect in interface org.gnu.freeway.protocol.afs.swing.SController
public void displayDirectory(java.lang.String arg0,
org.gnu.freeway.protocol.afs.esed2.NNode arg1)
displayDirectory in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic void download(org.gnu.freeway.protocol.afs.esed2.NNode arg0)
download in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic void enterCritical()
enterCritical in interface org.gnu.freeway.protocol.afs.swing.SController
public void err(java.lang.String arg0,
java.lang.Throwable arg1)
err in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic void guiMessage(java.lang.String arg0)
guiMessage in interface org.gnu.freeway.protocol.afs.swing.SController
public void infoMessage(boolean arg0,
java.lang.String arg1)
infoMessage in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic void leaveCritical()
leaveCritical in interface org.gnu.freeway.protocol.afs.swing.SController
public void log(java.util.logging.Level arg0,
java.lang.String arg1)
log in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic void refreshMenus()
refreshMenus in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener arg0)
removePropertyChangeListener in interface org.gnu.freeway.protocol.afs.swing.SController
public void removePropertyChangeListener(java.lang.String arg0,
java.beans.PropertyChangeListener arg1)
removePropertyChangeListener in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic Search search(SearchFilter filter)
SearchProvider
search in interface SearchProviderpublic org.gnu.freeway.util.Service service(java.lang.Class c)
service in interface org.gnu.freeway.protocol.afs.swing.SControllerpublic void showStats()
showStats in interface org.gnu.freeway.protocol.afs.swing.SController
public void start()
throws java.lang.Exception
Plugin
start in interface Pluginjava.lang.Exceptionpublic void startGUI()
Plugin
startGUI in interface Pluginpublic void stop()
Plugin
stop in interface Pluginpublic void stopGUI()
Plugin
stopGUI in interface Plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||