Class SimpleDialog
- java.lang.Object
-
- org.openoffice.da.comp.w2lcommon.helper.SimpleDialog
-
public class SimpleDialog extends java.lang.Object
This is a simple helper class to display and access a dialog based on an XML description (using the DialogProvider2 service). Unlike DialogBase, this class creates a dialog without event handlers. TODO: Use this class in ConfigurationDialogBase
-
-
Constructor Summary
Constructors Constructor Description SimpleDialog(com.sun.star.uno.XComponentContext xContext, java.lang.String sDialogPath)
Create a new dialog
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogAccess
getControls()
Get access to the controls of the dialogcom.sun.star.awt.XDialog
getDialog()
Get the UNO dialog
-
-
-
Method Detail
-
getDialog
public com.sun.star.awt.XDialog getDialog()
Get the UNO dialog- Returns:
- the dialog, or null if creation failed
-
getControls
public DialogAccess getControls()
Get access to the controls of the dialog- Returns:
- the control access helper, or null if creation failed
-
-