Class SimpleDialog
java.lang.Object
org.openoffice.da.comp.w2lcommon.helper.SimpleDialog
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
ConstructorsConstructorDescriptionSimpleDialog
(com.sun.star.uno.XComponentContext xContext, String sDialogPath) Create a new dialog -
Method Summary
Modifier and TypeMethodDescriptionGet access to the controls of the dialogcom.sun.star.awt.XDialog
Get the UNO dialog
-
Constructor Details
-
SimpleDialog
Create a new dialog- Parameters:
xContext
- the component context from which to get the service managersDialogPath
- the path to the dialog
-
-
Method Details
-
getDialog
public com.sun.star.awt.XDialog getDialog()Get the UNO dialog- Returns:
- the dialog, or null if creation failed
-
getControls
Get access to the controls of the dialog- Returns:
- the control access helper, or null if creation failed
-