NetworkSearchpublic class NetworkSearch extends Object
Fields Summary |
---|
private static final org.gudy.azureus2.core3.logging.LogIDs | LOGID |
Constructors Summary |
---|
protected NetworkSearch(com.aelitis.azureus.core.AzureusCore core, String searchText, org.eclipse.swt.browser.Browser browser)
PluginInterface pi = core.getPluginManager().getPluginInterfaceByID(
"azsearch");
if (pi == null) {
Logger.log(new LogEvent(LOGID, "Search plugin not found"));
return;
}
if (!pi.isOperational()) {
Logger.log(new LogEvent(LOGID, "Search plugin not operational"));
return;
}
Logger.log(new LogEvent(LOGID, "Search plugin functionality disabled"));
/*
Map params = new HashMap();
params.put("expression", searchText);
params.put("swtbrowser", browser);
try {
IPCInterface my_ipc = new IPCInterfaceImpl(this);
pi.getIPC().invoke("search", new Object[] {
my_ipc,
params
});
} catch (Throwable e) {
Logger.log(new LogEvent(LOGID, "IPC to search plugin failed", e));
}
*/
|
|