org.eclipse.datatools.enablement.oda.xml.ui.wizards
Class ColumnMappingTableViewer

java.lang.Object
  extended by org.eclipse.datatools.enablement.oda.xml.ui.wizards.ColumnMappingTableViewer

public final class ColumnMappingTableViewer
extends java.lang.Object

Table viewer of column mapping

Version:
$Revision: 1.12 $ $Date: 2010/05/24 05:24:43 $

Constructor Summary
ColumnMappingTableViewer(org.eclipse.swt.widgets.Composite parent, boolean showMenus, boolean showButtons, boolean enableKeyStrokes)
          column mapping table viewer.
 
Method Summary
 org.eclipse.swt.widgets.Button getAddButton()
          get the Add button
 org.eclipse.swt.widgets.Composite getControl()
          get the main control
 org.eclipse.swt.widgets.Button getDownButton()
          get the down button
 org.eclipse.swt.widgets.Button getEditButton()
          get the edit button
 org.eclipse.swt.widgets.MenuItem getRemoveAllMenuItem()
          get the remove all menu item
 org.eclipse.swt.widgets.Button getRemoveButton()
          get the remove button
 org.eclipse.swt.widgets.MenuItem getRemoveMenuItem()
          get the remove menu item
 org.eclipse.swt.widgets.Button getUpButton()
          get the up button
 org.eclipse.jface.viewers.TableViewer getViewer()
          get the table viewer
 java.util.List refresh(RelationInformation info, java.lang.String tableName, java.util.Map columnMapping)
          According to the relation information of the query, refresh the table items
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnMappingTableViewer

public ColumnMappingTableViewer(org.eclipse.swt.widgets.Composite parent,
                                boolean showMenus,
                                boolean showButtons,
                                boolean enableKeyStrokes)
column mapping table viewer. it supplies the button of remove, up , down and the menu of remove,removeAll....

Method Detail

getViewer

public org.eclipse.jface.viewers.TableViewer getViewer()
get the table viewer

Returns:

getControl

public org.eclipse.swt.widgets.Composite getControl()
get the main control

Returns:

getAddButton

public org.eclipse.swt.widgets.Button getAddButton()
get the Add button

Returns:

getUpButton

public org.eclipse.swt.widgets.Button getUpButton()
get the up button

Returns:

getDownButton

public org.eclipse.swt.widgets.Button getDownButton()
get the down button

Returns:

getRemoveButton

public org.eclipse.swt.widgets.Button getRemoveButton()
get the remove button

Returns:

getEditButton

public org.eclipse.swt.widgets.Button getEditButton()
get the edit button

Returns:

getRemoveMenuItem

public org.eclipse.swt.widgets.MenuItem getRemoveMenuItem()
get the remove menu item

Returns:

getRemoveAllMenuItem

public org.eclipse.swt.widgets.MenuItem getRemoveAllMenuItem()
get the remove all menu item

Returns:

refresh

public java.util.List refresh(RelationInformation info,
                              java.lang.String tableName,
                              java.util.Map columnMapping)
According to the relation information of the query, refresh the table items

Parameters:
info -
tableName -
Returns: