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
ConstructorsModifierConstructorDescriptionprotected
AttributesPage
(PrintWizard printWizard, String title, String description, String tableName, boolean isForNestedTable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createControl
(org.eclipse.swt.widgets.Composite parent) Get all available fieldsGet selected fieldsGet table nameboolean
Is page used for nested tablevoid
refreshAllFields
(List<QuerySchemaExpression> availableFields) Refresh available fields on page.void
setSelectedFields
(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, 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 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
-