public abstract class ConfigurationDialogBase
extends com.sun.star.lib.uno.helper.WeakBase
implements com.sun.star.awt.XContainerWindowEventHandler
XContainerWindowEventHandler
. The title of the dialogs
are used to differentiate between the individual pagesModifier and Type | Class and Description |
---|---|
protected class |
ConfigurationDialogBase.AttributePageHandler |
protected class |
ConfigurationDialogBase.CustomFileHandler |
protected class |
ConfigurationDialogBase.PageHandler |
protected class |
ConfigurationDialogBase.StylesPageHandler |
protected class |
ConfigurationDialogBase.UserListPageHandler |
Modifier and Type | Field and Description |
---|---|
protected Config |
config |
protected FilePicker |
filePicker |
protected java.util.Map<java.lang.String,ConfigurationDialogBase.PageHandler> |
pageHandlers |
protected com.sun.star.ucb.XSimpleFileAccess2 |
sfa2 |
protected com.sun.star.uno.XComponentContext |
xContext |
protected com.sun.star.util.XStringSubstitution |
xPathSub |
Constructor and Description |
---|
ConfigurationDialogBase(com.sun.star.uno.XComponentContext xContext)
Create a new
ConfigurationDialogBase |
Modifier and Type | Method and Description |
---|---|
boolean |
callHandlerMethod(com.sun.star.awt.XWindow xWindow,
java.lang.Object event,
java.lang.String sMethod) |
protected abstract java.lang.String |
getConfigFileName() |
protected abstract java.lang.String |
getDialogLibraryName() |
protected abstract java.lang.String |
getMIMEType() |
finalize, getImplementationId, getTypes, queryAdapter
protected com.sun.star.uno.XComponentContext xContext
protected FilePicker filePicker
protected com.sun.star.ucb.XSimpleFileAccess2 sfa2
protected com.sun.star.util.XStringSubstitution xPathSub
protected Config config
protected java.util.Map<java.lang.String,ConfigurationDialogBase.PageHandler> pageHandlers
public ConfigurationDialogBase(com.sun.star.uno.XComponentContext xContext)
ConfigurationDialogBase
protected abstract java.lang.String getMIMEType()
protected abstract java.lang.String getDialogLibraryName()
protected abstract java.lang.String getConfigFileName()
public boolean callHandlerMethod(com.sun.star.awt.XWindow xWindow, java.lang.Object event, java.lang.String sMethod) throws com.sun.star.lang.WrappedTargetException
callHandlerMethod
in interface com.sun.star.awt.XContainerWindowEventHandler
com.sun.star.lang.WrappedTargetException