iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.editor.wizards
Class JMCParamTableViewProvider

java.lang.Object
  extended bycom.ibm.etools.iseries.editor.wizards.JMCParamTableViewProvider
All Implemented Interfaces:
IBaseLabelProvider, ICellModifier, IContentProvider, IStructuredContentProvider, ITableLabelProvider

public class JMCParamTableViewProvider
extends Object
implements IStructuredContentProvider, ITableLabelProvider, ICellModifier


Constructor Summary
JMCParamTableViewProvider(TableViewer tv, com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizardPage owner)
           
 
Method Summary
 void addListener(ILabelProviderListener listener)
           
 void addParameter(Class paramType, String paramName)
          Add a parameter to the list of parms to show
 boolean canModify(Object element, String property)
           
 void dispose()
           
 Image getColumnImage(Object element, int columnIndex)
           
 String getColumnText(Object element, int columnIndex)
           
 Object getDataModel()
           
 Object[] getElements(Object inputElement)
           
 JMCRPGParameter getParameter(int i)
           
 List getParameterList()
           
 Object getValue(Object element, String property)
           
 void inputChanged(Viewer viewer, Object oldInput, Object newInput)
           
 boolean isLabelProperty(Object element, String property)
           
 void modify(Object element, String property, Object value)
          Update the underlying value for property property for entry element with new value value
 void removeAll()
          Effectively clears the table viewer and paramter list
 void removeListener(ILabelProviderListener listener)
           
 void removeParameter(JMCRPGParameter param)
          remove a parm from the list of parms to show
 void updateAll()
          updates all entries in the table viewer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMCParamTableViewProvider

public JMCParamTableViewProvider(TableViewer tv,
                                 com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizardPage owner)
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface IContentProvider

inputChanged

public void inputChanged(Viewer viewer,
                         Object oldInput,
                         Object newInput)
Specified by:
inputChanged in interface IContentProvider

addListener

public void addListener(ILabelProviderListener listener)
Specified by:
addListener in interface IBaseLabelProvider

removeListener

public void removeListener(ILabelProviderListener listener)
Specified by:
removeListener in interface IBaseLabelProvider

getColumnImage

public Image getColumnImage(Object element,
                            int columnIndex)
Specified by:
getColumnImage in interface ITableLabelProvider

getColumnText

public String getColumnText(Object element,
                            int columnIndex)
Specified by:
getColumnText in interface ITableLabelProvider

isLabelProperty

public boolean isLabelProperty(Object element,
                               String property)
Specified by:
isLabelProperty in interface IBaseLabelProvider

getElements

public Object[] getElements(Object inputElement)
Specified by:
getElements in interface IStructuredContentProvider

canModify

public boolean canModify(Object element,
                         String property)
Specified by:
canModify in interface ICellModifier

getValue

public Object getValue(Object element,
                       String property)
Specified by:
getValue in interface ICellModifier

modify

public void modify(Object element,
                   String property,
                   Object value)
Update the underlying value for property property for entry element with new value value

Specified by:
modify in interface ICellModifier

addParameter

public void addParameter(Class paramType,
                         String paramName)
Add a parameter to the list of parms to show

Parameters:
paramType -
paramName -

removeParameter

public void removeParameter(JMCRPGParameter param)
remove a parm from the list of parms to show

Parameters:
param -

getParameter

public JMCRPGParameter getParameter(int i)
Parameters:
i -
Returns:

getParameterList

public List getParameterList()
Returns:

removeAll

public void removeAll()
Effectively clears the table viewer and paramter list


updateAll

public void updateAll()
updates all entries in the table viewer


getDataModel

public Object getDataModel()

iSeries Remote Systems
v6.0.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.