Methods Summary |
---|
public void | addPluginView(UISWTPluginView view)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
if (mainwindow.getMenu() != null) {
mainwindow.getMenu().addPluginView(view, view.getPluginViewName());
} else {
Debug.out("No menu to addPluginView to");
}
}
});
|
public void | addPluginView(java.lang.String viewID, UISWTViewEventListener l)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
if (mainwindow.getMenu() != null) {
mainwindow.getMenu().addPluginView(viewID, l);
} else {
Debug.out("No menu to addPluginView to");
}
}
});
|
public void | addPluginView(org.gudy.azureus2.plugins.PluginView view)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
if (mainwindow.getMenu() != null) {
mainwindow.getMenu().addPluginView(view, view.getPluginViewName());
} else {
Debug.out("No menu to addPluginView to");
}
}
});
|
public void | bringToFront()
bringToFront(true);
|
public void | bringToFront(boolean tryTricks)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.setVisible(true, tryTricks);
}
});
|
public void | closeDownloadBars()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
MiniBarManager.getManager().closeAll();
}
});
|
public void | closeGlobalTransferBar()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
AllTransfersBar.close(mainwindow.getGlobalManager());
}
});
|
public void | closePluginView(org.gudy.azureus2.ui.swt.views.IView view)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.closePluginView(view);
}
});
|
public void | closePluginViews(java.lang.String sViewID)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.closePluginViews(sViewID);
}
});
|
public boolean | dispose(boolean for_restart, boolean close_already_in_progress)
return mainwindow.dispose(for_restart, close_already_in_progress);
|
public org.eclipse.swt.widgets.Shell | getMainShell()
return mainwindow.getShell();
|
public org.eclipse.swt.widgets.Menu | getMenu(int id)
if (mainwindow.getMenu() != null) {
return mainwindow.getMenu().getMenu(id);
}
return null;
|
public UISWTView[] | getPluginViews()
return mainwindow.getPluginViews();
|
public org.gudy.azureus2.ui.swt.pluginsimpl.UISWTInstanceImpl | getSWTPluginInstanceImpl()
return mainwindow.getUISWTInstanceImpl();
|
public UISWTInstance | getUISWTInstance()
return mainwindow.getUISWTInstanceImpl();
|
public com.aelitis.azureus.ui.UIFunctionsUserPrompter | getUserPrompter(java.lang.String title, java.lang.String text, java.lang.String[] buttons, int defaultOption)
MessageBoxShell mb = new MessageBoxShell(getMainShell(), title, text,
buttons, defaultOption);
return mb;
|
public boolean | isGlobalTransferBarShown()
return AllTransfersBar.getManager().isOpen(mainwindow.getGlobalManager());
|
public void | openManagerView(org.gudy.azureus2.core3.download.DownloadManager dm)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.openManagerView(dm);
}
});
|
public void | openPluginView(UISWTPluginView view)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.openPluginView(view, view.getPluginViewName());
}
});
|
public void | openPluginView(java.lang.String sParentID, java.lang.String sViewID, UISWTViewEventListener l, java.lang.Object dataSource, boolean bSetFocus)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.openPluginView(sParentID, sViewID, l, dataSource, bSetFocus);
}
});
|
public void | openPluginView(org.gudy.azureus2.ui.swt.views.AbstractIView view, java.lang.String name)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.openPluginView(view, name);
}
});
|
public void | openPluginView(org.gudy.azureus2.plugins.PluginView view)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.openPluginView(view, view.getPluginViewName());
}
});
|
public int | promptUser(java.lang.String title, java.lang.String text, java.lang.String[] buttons, int defaultOption, java.lang.String rememberID, java.lang.String rememberText, boolean rememberByDefault, int autoCloseInMS)
return MessageBoxShell.open(getMainShell(), title, text, buttons,
defaultOption, rememberID, rememberText, rememberByDefault,
autoCloseInMS);
|
public void | refreshIconBar()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.refreshIconBar();
}
});
|
public void | refreshLanguage()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.setSelectedLanguageItem();
}
});
|
public void | refreshTorrentMenu()
mainwindow.refreshTorrentMenu();
|
public void | removeManagerView(org.gudy.azureus2.core3.download.DownloadManager dm)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.removeManagerView(dm);
}
});
|
public void | removePluginView(UISWTPluginView view)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
if (mainwindow.getMenu() != null) {
mainwindow.getMenu().removePluginView(view, view.getPluginViewName());
}
}
});
|
public void | removePluginView(java.lang.String viewID)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
if (mainwindow.getMenu() != null) {
mainwindow.getMenu().removePluginViews(viewID);
}
}
});
|
public void | removePluginView(org.gudy.azureus2.plugins.PluginView view)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
if (mainwindow.getMenu() != null) {
mainwindow.getMenu().removePluginView(view, view.getPluginViewName());
}
}
});
|
public boolean | requestShutdown()
return mainwindow.destroyRequest();
|
public void | setStatusText(java.lang.String string)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.setStatusText(string);
}
});
|
public void | setStatusText(int statustype, java.lang.String string, com.aelitis.azureus.ui.UIStatusTextClickListener l)
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.setStatusText(statustype, string, l);
}
});
|
public void | showAllPeersView()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.showAllPeersView();
}
});
|
public boolean | showConfig(java.lang.String string)
return mainwindow.showConfig(string);
|
public void | showConsole()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.showConsole();
}
});
|
public void | showGlobalTransferBar()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
AllTransfersBar.open(mainwindow.getGlobalManager(), mainwindow.getShell());
}
});
|
public void | showMyShares()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.showMyShares();
}
});
|
public void | showMyTorrents()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.showMyTorrents();
}
});
|
public void | showMyTracker()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.showMyTracker();
}
});
|
public void | showStats()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.showStats();
}
});
|
public void | showStatsDHT()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.showStatsDHT();
}
});
|
public void | showStatsTransfers()
Utils.execSWTThread(new AERunnable() {
public void runSupport() {
mainwindow.showStatsTransfers();
}
});
|
public boolean | viewURL(java.lang.String url, java.lang.String target, int w, int h, boolean allowResize, boolean isModal)
return Utils.execSWTThreadWithBool("viewURL", new AERunnableBoolean() {
public boolean runSupport() {
SimpleBrowserWindow window = new SimpleBrowserWindow(
mainwindow.getShell(), url, w, h, allowResize, isModal);
window.waitUntilClosed();
return true;
}
});
|
public boolean | viewURL(java.lang.String url, java.lang.String target, double w, double h, boolean allowResize, boolean isModal)
return Utils.execSWTThreadWithBool("viewURL", new AERunnableBoolean() {
public boolean runSupport() {
SimpleBrowserWindow window = new SimpleBrowserWindow(
mainwindow.getShell(), url, w, h, allowResize, isModal);
window.waitUntilClosed();
return true;
}
});
|