Class LogViewerDialog
- java.lang.Object
-
- org.openoffice.da.comp.w2lcommon.helper.DialogBase
-
- org.openoffice.da.comp.writer4latex.LogViewerDialog
-
- All Implemented Interfaces:
com.sun.star.awt.XDialogEventHandler
,com.sun.star.lang.XInitialization
,com.sun.star.lang.XServiceInfo
,com.sun.star.lang.XServiceName
,com.sun.star.lang.XTypeProvider
,com.sun.star.ui.dialogs.XExecutableDialog
,com.sun.star.uno.XInterface
public class LogViewerDialog extends DialogBase implements com.sun.star.lang.XInitialization
This class provides a uno component which displays logfiles
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
__implementationName
The component should also have an implementation name.static java.lang.String
__serviceName
The component will be registered under this name.-
Fields inherited from class org.openoffice.da.comp.w2lcommon.helper.DialogBase
CHECKBOX_CHECKED, CHECKBOX_DONT_KNOW, CHECKBOX_NOT_CHECKED, xContext
-
-
Constructor Summary
Constructors Constructor Description LogViewerDialog(com.sun.star.uno.XComponentContext xContext)
Create a new LogViewerDialog
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
callHandlerMethod(com.sun.star.awt.XDialog xDialog, java.lang.Object event, java.lang.String sMethod)
void
endDialog()
End the dialog after execution (eg. save settings to the registry) The subclass must implement thisjava.lang.String
getDialogLibraryName()
Return the name of the library containing the dialogjava.lang.String
getDialogName()
Return the name of the dialog within the libraryjava.lang.String[]
getSupportedMethodNames()
void
initialize()
Initialize the dialog (eg. with settings from the registry) The subclass must implement thisvoid
initialize(java.lang.Object[] object)
-
Methods inherited from class org.openoffice.da.comp.w2lcommon.helper.DialogBase
execute, getCheckBoxState, getCheckBoxStateAsBoolean, getComboBoxText, getFormattedFieldText, getImplementationId, getImplementationName, getListBoxLineCount, getListBoxSelectedItem, getListBoxStringItemList, getNumericFieldValue, getServiceName, getSupportedServiceNames, getTextFieldText, getTypes, setCheckBoxState, setCheckBoxStateAsBoolean, setComboBoxText, setControlEnabled, setFormattedFieldText, setListBoxLineCount, setListBoxSelectedItem, setListBoxStringItemList, setNumericFieldValue, setTextFieldText, setTitle, supportsService
-
-
-
-
Method Detail
-
getDialogLibraryName
public java.lang.String getDialogLibraryName()
Return the name of the library containing the dialog- Specified by:
getDialogLibraryName
in classDialogBase
-
getDialogName
public java.lang.String getDialogName()
Return the name of the dialog within the library- Specified by:
getDialogName
in classDialogBase
-
initialize
public void initialize()
Description copied from class:DialogBase
Initialize the dialog (eg. with settings from the registry) The subclass must implement this- Specified by:
initialize
in classDialogBase
-
endDialog
public void endDialog()
Description copied from class:DialogBase
End the dialog after execution (eg. save settings to the registry) The subclass must implement this- Specified by:
endDialog
in classDialogBase
-
initialize
public void initialize(java.lang.Object[] object) throws com.sun.star.uno.Exception
- Specified by:
initialize
in interfacecom.sun.star.lang.XInitialization
- Throws:
com.sun.star.uno.Exception
-
callHandlerMethod
public boolean callHandlerMethod(com.sun.star.awt.XDialog xDialog, java.lang.Object event, java.lang.String sMethod)
- Specified by:
callHandlerMethod
in interfacecom.sun.star.awt.XDialogEventHandler
- Overrides:
callHandlerMethod
in classDialogBase
-
getSupportedMethodNames
public java.lang.String[] getSupportedMethodNames()
- Specified by:
getSupportedMethodNames
in interfacecom.sun.star.awt.XDialogEventHandler
- Overrides:
getSupportedMethodNames
in classDialogBase
-
-