Class ConfigurationDialogBase
- java.lang.Object
-
- com.sun.star.lib.uno.helper.WeakBase
-
- org.openoffice.da.comp.w2lcommon.filter.ConfigurationDialogBase
-
- All Implemented Interfaces:
com.sun.star.awt.XContainerWindowEventHandler,com.sun.star.lang.XTypeProvider,com.sun.star.uno.XInterface,com.sun.star.uno.XWeak
- Direct Known Subclasses:
ConfigurationDialog,ConfigurationDialog
public abstract class ConfigurationDialogBase extends com.sun.star.lib.uno.helper.WeakBase implements com.sun.star.awt.XContainerWindowEventHandlerThis is a base implementation of a uno component which supports several option pages with a singleXContainerWindowEventHandler. The title of the dialogs are used to differentiate between the individual pages
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classConfigurationDialogBase.AttributePageHandlerprotected classConfigurationDialogBase.CustomFileHandlerprotected classConfigurationDialogBase.PageHandlerprotected classConfigurationDialogBase.StylesPageHandlerprotected classConfigurationDialogBase.UserListPageHandler
-
Field Summary
Fields Modifier and Type Field Description protected Configconfigprotected FilePickerfilePickerprotected java.util.Map<java.lang.String,ConfigurationDialogBase.PageHandler>pageHandlersprotected com.sun.star.ucb.XSimpleFileAccess2sfa2protected com.sun.star.uno.XComponentContextxContextprotected com.sun.star.util.XStringSubstitutionxPathSub
-
Constructor Summary
Constructors Constructor Description ConfigurationDialogBase(com.sun.star.uno.XComponentContext xContext)Create a newConfigurationDialogBase
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancallHandlerMethod(com.sun.star.awt.XWindow xWindow, java.lang.Object event, java.lang.String sMethod)protected abstract java.lang.StringgetConfigFileName()protected abstract java.lang.StringgetDialogLibraryName()protected abstract java.lang.StringgetMIMEType()-
Methods inherited from class com.sun.star.lib.uno.helper.WeakBase
finalize, getImplementationId, getTypes, queryAdapter
-
-
-
-
Field Detail
-
xContext
protected com.sun.star.uno.XComponentContext xContext
-
filePicker
protected FilePicker filePicker
-
sfa2
protected com.sun.star.ucb.XSimpleFileAccess2 sfa2
-
xPathSub
protected com.sun.star.util.XStringSubstitution xPathSub
-
config
protected Config config
-
pageHandlers
protected java.util.Map<java.lang.String,ConfigurationDialogBase.PageHandler> pageHandlers
-
-
Method Detail
-
getMIMEType
protected abstract java.lang.String getMIMEType()
-
getDialogLibraryName
protected abstract java.lang.String getDialogLibraryName()
-
getConfigFileName
protected abstract java.lang.String getConfigFileName()
-
callHandlerMethod
public boolean callHandlerMethod(com.sun.star.awt.XWindow xWindow, java.lang.Object event, java.lang.String sMethod) throws com.sun.star.lang.WrappedTargetException- Specified by:
callHandlerMethodin interfacecom.sun.star.awt.XContainerWindowEventHandler- Throws:
com.sun.star.lang.WrappedTargetException
-
-