|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.ui.swt.progress.ProgressReporterWindow
public class ProgressReporterWindow
Field Summary |
---|
Fields inherited from interface org.gudy.azureus2.ui.swt.progress.IProgressReportConstants |
---|
AUTO_CLOSE, BORDER, MANAGER_EVENT_ADDED, MANAGER_EVENT_REMOVED, MANAGER_EVENT_UPDATED, MODAL, MSG_TYPE_ERROR, MSG_TYPE_INFO, MSG_TYPE_LOG, NONE, REPORT_TYPE_CANCEL, REPORT_TYPE_DISPOSED, REPORT_TYPE_DONE, REPORT_TYPE_ERROR, REPORT_TYPE_INIT, REPORT_TYPE_MODE_CHANGE, REPORT_TYPE_PROPERTY_CHANGED, REPORT_TYPE_RETRY, REPORTER_TYPE_DEFAULT, REPORTER_VISIBILITY_SYSTEM, REPORTER_VISIBILITY_USER, RETVAL_OK, RETVAL_OK_TO_DISPOSE, SHOW_TOOLBAR, STANDALONE |
Method Summary | |
---|---|
void |
isCollapsed(boolean value)
When any ProgressReporterPanel in this window is expanded or collapsed
re-layout the controls and window appropriately |
static boolean |
isOpened(IProgressReporter pReporter)
Returns whether the given IProgressReporter is opened in any instance of this window;
processes can query this method before opening another window to prevent opening multiple
windows for the same reporter. |
static boolean |
isShowingEmpty()
Returns whether this window is already opened and is showing the empty panel |
static void |
open(IProgressReporter[] pReporters,
int style)
Opens the window and display the given array of IProgressReporter 's
style could be one or more of these:
IProgressReportConstants.NONE -- the default
IProgressReportConstants.AUTO_CLOSE -- automatically disposes this panel when the given reporter is done
IProgressReportConstants.MODAL -- this window will be application modal
IProgressReportConstants.SHOW_TOOLBAR -- shows the toolbar for removing inactive reporters
|
static void |
open(IProgressReporter pReporter,
int style)
Opens the window and display the given IProgressReporter
style could be one or more of these:
IProgressReportConstants.NONE -- the default
IProgressReportConstants.AUTO_CLOSE -- automatically disposes this panel when the given reporter is done
IProgressReportConstants.MODAL -- this window will be application modal
IProgressReportConstants.SHOW_TOOLBAR -- shows the toolbar for removing inactive reporters
|
void |
widgetDisposed(org.eclipse.swt.events.DisposeEvent e)
When any ProgressReporterPanel in this window is disposed
re-layout the controls and window appropriately |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void open(IProgressReporter pReporter, int style)
IProgressReporter
style
could be one or more of these:
IProgressReportConstants.NONE
-- the defaultIProgressReportConstants.AUTO_CLOSE
-- automatically disposes this panel when the given reporter is doneIProgressReportConstants.MODAL
-- this window will be application modalIProgressReportConstants.SHOW_TOOLBAR
-- shows the toolbar for removing inactive reporters
pReporter
- style
- public static void open(IProgressReporter[] pReporters, int style)
IProgressReporter
's
style
could be one or more of these:
IProgressReportConstants.NONE
-- the defaultIProgressReportConstants.AUTO_CLOSE
-- automatically disposes this panel when the given reporter is doneIProgressReportConstants.MODAL
-- this window will be application modalIProgressReportConstants.SHOW_TOOLBAR
-- shows the toolbar for removing inactive reporters
pReporters
- style
- public static boolean isShowingEmpty()
public static boolean isOpened(IProgressReporter pReporter)
IProgressReporter
is opened in any instance of this window;
processes can query this method before opening another window to prevent opening multiple
windows for the same reporter. This is implemented explicitly instead of having the window automatically
recycle instances because there are times when it is desirable to open a reporter in more than one
instances of this window.
pReporter
-
public void isCollapsed(boolean value)
ProgressReporterPanel
in this window is expanded or collapsed
re-layout the controls and window appropriately
isCollapsed
in interface ITwistieListener
public void widgetDisposed(org.eclipse.swt.events.DisposeEvent e)
ProgressReporterPanel
in this window is disposed
re-layout the controls and window appropriately
widgetDisposed
in interface org.eclipse.swt.events.DisposeListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |