org.eclipse.datatools.enablement.oda.xml.ui.wizards
Class ColumnMappingPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardPageCore
org.eclipse.datatools.connectivity.oda.design.ui.wizards.DataSetWizardPage
org.eclipse.datatools.enablement.oda.xml.ui.wizards.ColumnMappingPage
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.jface.viewers.ITableLabelProvider, org.eclipse.jface.wizard.IWizardPage
- Direct Known Subclasses:
- XMLColumnMappingPage
public class ColumnMappingPage
- extends DataSetWizardPage
- implements org.eclipse.jface.viewers.ITableLabelProvider
Column mapping page to define the column mapping with xml data set
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
|
Method Summary |
void |
addListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
|
org.eclipse.swt.widgets.Control |
createPageControl(org.eclipse.swt.widgets.Composite parent)
|
void |
createPageCustomControl(org.eclipse.swt.widgets.Composite parent)
Creates customized control for this wizard page under the
given parent composite. |
org.eclipse.swt.graphics.Image |
getColumnImage(java.lang.Object element,
int columnIndex)
|
java.lang.String |
getColumnText(java.lang.Object element,
int columnIndex)
|
java.lang.String |
getToolTip()
|
boolean |
isLabelProperty(java.lang.Object element,
java.lang.String property)
|
boolean |
performCancel()
|
boolean |
performOk()
|
void |
refresh()
refresh the tree for refocus on the tree item |
void |
removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
|
void |
setSchemaFile(java.lang.String fileName)
set the schema file |
void |
setVisible(boolean visible)
|
| Methods inherited from class org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardPageCore |
dispose, getIconDescriptor, getIconFilePath, performHelp, setErrorMessage, setMessage |
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
canFlipToNextPage, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isPageComplete, setDescription, setImageDescriptor, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
getControl, getDescription, getErrorMessage, getMessage, getMessageType, getTitle, setMessage |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider |
dispose |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
getControl, getDescription, getErrorMessage, getMessage, getTitle |
ColumnMappingPage
public ColumnMappingPage()
- Parameters:
string -
ColumnMappingPage
public ColumnMappingPage(java.lang.String pageName)
- Parameters:
pageName -
createPageCustomControl
public void createPageCustomControl(org.eclipse.swt.widgets.Composite parent)
- Description copied from class:
DataSetWizardPage
- Creates customized control for this wizard page under the
given parent composite.
Initializes control as appropriate
with the DataSetDesign initialization instance.
- Specified by:
createPageCustomControl in class DataSetWizardPage
- Parameters:
parent - the parent composite- See Also:
DataSetWizardPageCore.getInitializationDesign()
refresh
public void refresh()
- refresh the tree for refocus on the tree item
createPageControl
public org.eclipse.swt.widgets.Control createPageControl(org.eclipse.swt.widgets.Composite parent)
- Parameters:
parent -
- Returns:
performOk
public boolean performOk()
- Returns:
performCancel
public boolean performCancel()
- Returns:
getToolTip
public java.lang.String getToolTip()
- Returns:
setSchemaFile
public void setSchemaFile(java.lang.String fileName)
- set the schema file
- Parameters:
fileName -
getColumnImage
public org.eclipse.swt.graphics.Image getColumnImage(java.lang.Object element,
int columnIndex)
- Specified by:
getColumnImage in interface org.eclipse.jface.viewers.ITableLabelProvider
getColumnText
public java.lang.String getColumnText(java.lang.Object element,
int columnIndex)
- Specified by:
getColumnText in interface org.eclipse.jface.viewers.ITableLabelProvider
addListener
public void addListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
- Specified by:
addListener in interface org.eclipse.jface.viewers.IBaseLabelProvider
isLabelProperty
public boolean isLabelProperty(java.lang.Object element,
java.lang.String property)
- Specified by:
isLabelProperty in interface org.eclipse.jface.viewers.IBaseLabelProvider
removeListener
public void removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
- Specified by:
removeListener in interface org.eclipse.jface.viewers.IBaseLabelProvider
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisible in interface org.eclipse.jface.dialogs.IDialogPage- Overrides:
setVisible in class org.eclipse.jface.dialogs.DialogPage