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 Modifier and Type Class Description static class
AttributesPage.SelectedField
Selected field
-
Constructor Summary
Constructors Modifier Constructor Description protected
AttributesPage(PrintWizard printWizard, String title, String description, String tableName, boolean isForNestedTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createControl(org.eclipse.swt.widgets.Composite parent)
Set<QuerySchemaExpression>
getAllFields()
Get all available fieldsList<AttributesPage.SelectedField>
getSelectedFields()
Get selected fieldsString
getTableName()
Get table nameboolean
isForNestedTable()
Is page used for nested tablevoid
refreshAllFields(List<QuerySchemaExpression> availableFields)
Refresh available fields on page.void
setSelectedFields(List<PrintWizardParser.Field> fields)
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
-
-
-
-
Constructor Detail
-
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 Detail
-
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
-
-