Class InfobasePublicationWizardSeparatorsPage

  • All Implemented Interfaces:
    org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

    public class InfobasePublicationWizardSeparatorsPage
    extends AbstractDataBoundWizardPage
    Web Server Publication data separators definition page of InfobasePublicationWizard.
    • Method Detail

      • setInfobasePublication

        public void setInfobasePublication​(InfobasePublication publication)
        Set publication.
        publication - creating publication, cannot be null
      • doCreateControl

        protected org.eclipse.swt.widgets.Composite doCreateControl​(org.eclipse.swt.widgets.Composite parent)
        Description copied from class: AbstractDataBoundWizardPage
        Create page control and return it's composite. Subclass must add UI elements in this method.
        Specified by:
        doCreateControl in class AbstractDataBoundWizardPage
        parent - parent composite, cannot be null
        return child composite, to set control to, never null
      • update

        protected void update()
        Update state of page: apply elements in table to publication.
      • apply

        protected void apply​(InfobasePublication publication,
                             List<CommonAttributeParameter> parameters)
        Apply given common attributes parameters to given publication item. Publication data dividers will be cleared before parameters apply.
        publication - to apply parameters to, cannot be null
        parameters - list of parameters to apply, cannot be null
      • getInput

        protected List<CommonAttributeParameter> getInput()
        Get input of attributes viewer - list of common attributes parameters.
        list of common attributes parameters, never null
      • setInfobase

        protected void setInfobase​(InfobaseReference infobase)
        Set Infobase, that will fill page UI components.
        infobase - infobase to fill page, can be null, than content will be empty
      • createViewerComposite

        protected org.eclipse.swt.widgets.Composite createViewerComposite​(org.eclipse.swt.widgets.Composite parent,
                                                                          org.eclipse.jface.layout.TableColumnLayout columnLayout)
        Create viewer composite.
        parent - parent composite, cannot be null
        columnLayout - column layout to use for column layouting, cannot be null
        viewer composite, never null
      • createColumns

        protected void createColumns​(CheckboxTableViewer viewer,
                                     org.eclipse.jface.layout.TableColumnLayout columnLayout)
        Create columns for given attribute viewer.
        viewer - parent table viewer to create columns for, cannot be null
        columnLayout - column layout to use for column layouting, cannot be null