|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.application.swt.SWTThickClientDialogGuiImpl
public abstract class SWTThickClientDialogGuiImpl
Base class for SWT Thick Client dialogs.
| Field Summary | |
|---|---|
protected ThickClient |
m_client
Client application displaying this dialog. |
protected org.eclipse.swt.graphics.Point |
m_oldClientLocation
If not null then original location of the dialog parent. |
protected org.eclipse.swt.graphics.Rectangle |
m_outsideBoundingArea
If this parameter is set it represents the area to which the parent dialog and this dialog should be bound. |
protected org.eclipse.swt.widgets.Shell |
m_parent
Parent shell of this dialog which can be null if the dialog is a top level window. |
protected org.eclipse.swt.widgets.Shell |
m_shell
Shell representing this dialog. |
| Constructor Summary | |
|---|---|
SWTThickClientDialogGuiImpl()
|
|
| Method Summary | |
|---|---|
protected void |
createDialogWindow(ThickClientDialog dialog,
java.lang.String strTitle,
int iStyle)
Create the shell for this child dialog. |
protected void |
createDialogWindow(ThickClient client,
org.eclipse.swt.widgets.Shell parentShell,
java.lang.String strTitle,
int iStyle)
Create the shell for this dialog. |
protected void |
createDialogWindow(ThickClient client,
java.lang.String strTitle,
int iStyle)
Create the shell for this top level dialog. |
protected void |
displayDialogWindow(org.eclipse.swt.graphics.Point ptSize)
Display the dialog window. |
java.lang.Object |
displayMessage(java.lang.String strTitle,
java.lang.String strMessage,
java.lang.Object additionalInfo)
Display message to the user. |
ThickClient |
getClient()
Get client displaying this dialog. |
org.eclipse.swt.widgets.Shell |
getShell()
Get shell of this dialog. |
protected void |
interactWithUser()
Main message loop which processes messages for the dialog caused by user actions such as typing or mouse clicks. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ThickClient m_client
protected org.eclipse.swt.widgets.Shell m_shell
protected org.eclipse.swt.widgets.Shell m_parent
protected org.eclipse.swt.graphics.Rectangle m_outsideBoundingArea
protected org.eclipse.swt.graphics.Point m_oldClientLocation
| Constructor Detail |
|---|
public SWTThickClientDialogGuiImpl()
| Method Detail |
|---|
public java.lang.Object displayMessage(java.lang.String strTitle,
java.lang.String strMessage,
java.lang.Object additionalInfo)
displayMessage in interface ThickClientDialogGuistrTitle - - title of the message, look at MESSAGE_TITLE_XXX constants
in ThickClienGui interfacestrMessage - - message to displayadditionalInfo - - additional information to pass in, this may be
implementation specific, look at MESSAGE_STYLE_XXX
constants in ThickClienGui interface
public ThickClient getClient()
public org.eclipse.swt.widgets.Shell getShell()
protected void createDialogWindow(ThickClient client,
java.lang.String strTitle,
int iStyle)
client - - client application displaying this dialogstrTitle - - title of the shelliStyle - - style of the shell
protected void createDialogWindow(ThickClientDialog dialog,
java.lang.String strTitle,
int iStyle)
dialog - - dialog for which the window is being createdstrTitle - - title of the shelliStyle - - style of the shell
protected void createDialogWindow(ThickClient client,
org.eclipse.swt.widgets.Shell parentShell,
java.lang.String strTitle,
int iStyle)
client - - client application displaying this dialogparentShell - - parent shell of this dialogstrTitle - - title of the shelliStyle - - style of the shellprotected void displayDialogWindow(org.eclipse.swt.graphics.Point ptSize)
ptSize - - size of the dialog or null if the dialog should have it's
natural sizeprotected void interactWithUser()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||