Class BaseStepGenericXulDialog

  • All Implemented Interfaces:
    org.pentaho.di.trans.step.StepDialogInterface, org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.XulEventSource
    Direct Known Subclasses:
    BaseStepXulDialog

    public abstract class BaseStepGenericXulDialog
    extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
    implements org.pentaho.di.trans.step.StepDialogInterface
    User: gmoran Date: Jan 28, 2013
    • Field Detail

      • loggingObject

        public static final org.pentaho.di.core.logging.LoggingObjectInterface loggingObject
      • variables

        protected static org.pentaho.di.core.variables.VariableSpace variables
      • stepname

        protected String stepname
      • wlStepname

        protected org.pentaho.ui.xul.components.XulLabel wlStepname
      • wStepname

        protected org.pentaho.ui.xul.components.XulTextbox wStepname
      • wOK

        protected org.pentaho.ui.xul.components.XulButton wOK
      • wGet

        protected org.pentaho.ui.xul.components.XulButton wGet
      • wPreview

        protected org.pentaho.ui.xul.components.XulButton wPreview
      • wSQL

        protected org.pentaho.ui.xul.components.XulButton wSQL
      • wCreate

        protected org.pentaho.ui.xul.components.XulButton wCreate
      • wCancel

        protected org.pentaho.ui.xul.components.XulButton wCancel
      • transMeta

        protected org.pentaho.di.trans.TransMeta transMeta
      • parent

        protected Object parent
      • baseStepMeta

        protected org.pentaho.di.trans.step.BaseStepMeta baseStepMeta
      • repository

        protected org.pentaho.di.repository.Repository repository
      • metaStore

        protected org.pentaho.metastore.api.IMetaStore metaStore
      • stepMeta

        protected org.pentaho.di.trans.step.StepMeta stepMeta
      • log

        protected org.pentaho.di.core.logging.LogChannel log
      • xulDialog

        protected org.pentaho.ui.xul.containers.XulDialog xulDialog
      • bf

        protected org.pentaho.ui.xul.binding.BindingFactory bf
    • Constructor Detail

      • BaseStepGenericXulDialog

        public BaseStepGenericXulDialog​(String xulFile,
                                        Object parent,
                                        org.pentaho.di.trans.step.BaseStepMeta baseStepMeta,
                                        org.pentaho.di.trans.TransMeta transMeta,
                                        String stepname)
    • Method Detail

      • initializeXul

        protected abstract void initializeXul()
                                       throws org.pentaho.ui.xul.XulException
        The implementors of this method should call the sibling method initializeXul(XulLoder, BindingFactory, XulRunner, parent) with the desired Xul implementation classes - SWT or Swing.
        Throws:
        org.pentaho.ui.xul.XulException
      • initializeXul

        protected void initializeXul​(org.pentaho.ui.xul.XulLoader loader,
                                     org.pentaho.ui.xul.binding.BindingFactory bindingFactory,
                                     org.pentaho.ui.xul.XulRunner runner,
                                     Object parent)
                              throws org.pentaho.ui.xul.XulException
        Throws:
        org.pentaho.ui.xul.XulException
      • getSettingsManager

        public abstract org.pentaho.ui.xul.XulSettingsManager getSettingsManager()
      • getResourceBundle

        public abstract ResourceBundle getResourceBundle()
      • clear

        public abstract void clear()
        Reset this dialog and its controls to a default state.
      • getBindingFactory

        protected org.pentaho.ui.xul.binding.BindingFactory getBindingFactory()
      • getEventHandlers

        protected List<org.pentaho.ui.xul.impl.XulEventHandler> getEventHandlers()
      • getName

        public String getName()
        Specified by:
        getName in interface org.pentaho.ui.xul.impl.XulEventHandler
        Overrides:
        getName in class org.pentaho.ui.xul.impl.AbstractXulEventHandler
      • open

        public String open()
        Specified by:
        open in interface org.pentaho.di.trans.step.StepDialogInterface
      • close

        public void close()
      • setModalParent

        public void setModalParent​(Object p)
      • showMessage

        public void showMessage​(String message,
                                String title)
      • showClearDataMessage

        public int showClearDataMessage()
      • showPromptMessage

        public int showPromptMessage​(String message,
                                     String title)
      • showPromptMessage

        public int showPromptMessage​(String message,
                                     String title,
                                     Object[] buttons)
      • onAccept

        public abstract void onAccept()
      • onCancel

        public abstract void onCancel()
      • onHelp

        public void onHelp()
      • getClassForMessages

        protected abstract Class<?> getClassForMessages()
      • dispose

        public abstract void dispose()
      • validate

        public abstract boolean validate()
      • addDatabases

        public void addDatabases​(org.pentaho.ui.xul.components.XulMenuList<?> wConnection)
      • addDatabases

        public void addDatabases​(org.pentaho.ui.xul.components.XulMenuList wConnection,
                                 Class<? extends org.pentaho.di.core.database.DatabaseInterface> databaseType)
      • selectDatabase

        public void selectDatabase​(org.pentaho.ui.xul.components.XulMenuList wConnection,
                                   String name)
      • getRepository

        public org.pentaho.di.repository.Repository getRepository()
      • setRepository

        public void setRepository​(org.pentaho.di.repository.Repository repository)
        Specified by:
        setRepository in interface org.pentaho.di.trans.step.StepDialogInterface
      • isBasic

        public boolean isBasic()
      • isDetailed

        public boolean isDetailed()
      • isDebug

        public boolean isDebug()
      • isRowLevel

        public boolean isRowLevel()
      • logMinimal

        public void logMinimal​(String message)
      • logMinimal

        public void logMinimal​(String message,
                               Object... arguments)
      • logBasic

        public void logBasic​(String message)
      • logBasic

        public void logBasic​(String message,
                             Object... arguments)
      • logDetailed

        public void logDetailed​(String message)
      • logDetailed

        public void logDetailed​(String message,
                                Object... arguments)
      • logDebug

        public void logDebug​(String message)
      • logDebug

        public void logDebug​(String message,
                             Object... arguments)
      • logRowlevel

        public void logRowlevel​(String message)
      • logRowlevel

        public void logRowlevel​(String message,
                                Object... arguments)
      • logError

        public void logError​(String message)
      • logError

        public void logError​(String message,
                             Object... arguments)
      • getMetaStore

        public org.pentaho.metastore.api.IMetaStore getMetaStore()
      • setMetaStore

        public void setMetaStore​(org.pentaho.metastore.api.IMetaStore metaStore)
        Specified by:
        setMetaStore in interface org.pentaho.di.trans.step.StepDialogInterface
      • getPlugin

        protected org.pentaho.di.core.plugins.PluginInterface getPlugin()