Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.edit.wizards.JMCParamTableViewProvider

public class JMCParamTableViewProvider
extends Object


Constructor Summary
JMCParamTableViewProvider(TableViewer tv, 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,
                                 AbstractSystemWizardPage owner)
Method Detail

dispose

public void dispose()

inputChanged

public void inputChanged(Viewer viewer,
                         Object oldInput,
                         Object newInput)

addListener

public void addListener(ILabelProviderListener listener)

removeListener

public void removeListener(ILabelProviderListener listener)

getColumnImage

public Image getColumnImage(Object element,
                            int columnIndex)

getColumnText

public String getColumnText(Object element,
                            int columnIndex)

isLabelProperty

public boolean isLabelProperty(Object element,
                               String property)

getElements

public Object[] getElements(Object inputElement)

canModify

public boolean canModify(Object element,
                         String property)

getValue

public Object getValue(Object element,
                       String property)

modify

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


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()

Rational Developer for Power Systems Software
V7.6

Copyright 2011 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.