Package com._1c.g5.v8.dt.pw.ui
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 -
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttributesPage(PrintWizard printWizard, String title, String description, String tableName, boolean isForNestedTable) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite parent) Get all available fieldsGet selected fieldsGet table namebooleanIs page used for nested tablevoidrefreshAllFields(List<QuerySchemaExpression> availableFields) Refresh available fields on page.voidsetSelectedFields(List<PrintWizardParser.Field> fields) Set selected fieldsMethods 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, toStringMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisibleMethods 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 wizardtitle- - titledescription- - descriptiontableName- - nested table nameisForNestedTable- - is for nested table
-
-
Method Details
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent) -
getTableName
Get table name- Returns:
- table name
-
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
Get all available fields- Returns:
- fields collection
-
setSelectedFields
Set selected fields- Parameters:
fields- - fields collection
-
refreshAllFields
Refresh available fields on page.- Parameters:
availableFields- - collection of available fields
-