Class AttributesPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
com._1c.g5.v8.dt.pw.ui.AttributesPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class AttributesPage extends org.eclipse.jface.wizard.WizardPage
Attributes page
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Selected field
  • Field Summary

    Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

    ERROR, INFORMATION, NONE, WARNING
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AttributesPage(PrintWizard printWizard, String title, String description, String tableName, boolean isForNestedTable)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createControl(org.eclipse.swt.widgets.Composite parent)
     
    Get all available fields
    Get selected fields
    Get table name
    boolean
    Is page used for nested table
    void
    Refresh available fields on page.
    void
    Set selected fields

    Methods inherited from class org.eclipse.jface.wizard.WizardPage

    canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString

    Methods inherited from class org.eclipse.jface.dialogs.DialogPage

    convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage

    dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible

    Methods inherited from interface org.eclipse.jface.wizard.IWizardPage

    getMinimumPageSize
  • Constructor Details

    • AttributesPage

      protected AttributesPage(PrintWizard printWizard, String title, String description, String tableName, boolean isForNestedTable)
      Parameters:
      printWizard - - print wizard
      title - - title
      description - - description
      tableName - - nested table name
      isForNestedTable - - is for nested table
  • Method Details

    • createControl

      public void createControl(org.eclipse.swt.widgets.Composite parent)
    • getTableName

      public String getTableName()
      Get table name
      Returns:
      table name
    • getSelectedFields

      public List<AttributesPage.SelectedField> getSelectedFields()
      Get selected fields
      Returns:
      selected fields
    • isForNestedTable

      public boolean isForNestedTable()
      Is page used for nested table
      Returns:
      is page used for nested table
    • getAllFields

      public Set<QuerySchemaExpression> getAllFields()
      Get all available fields
      Returns:
      fields collection
    • setSelectedFields

      public void setSelectedFields(List<PrintWizardParser.Field> fields)
      Set selected fields
      Parameters:
      fields - - fields collection
    • refreshAllFields

      public void refreshAllFields(List<QuerySchemaExpression> availableFields)
      Refresh available fields on page.
      Parameters:
      availableFields - - collection of available fields