Project: stp

com.ibm.rational.stp.client.samples
Interface BrowserDataModel.Operations

All Known Implementing Classes:
CcBrowser
Enclosing class:
BrowserDataModel

static interface BrowserDataModel.Operations

A specification for the interface between the BrowserDataModel and a provider of operations to be applied to the object displayed in the model.


Method Summary
 void execute(Object op, BrowserDataModel model)
          Performs the operation identified by the argument to the object displayed by this data model.
 Vector getList()
          Returns a list of operations that can be applied to the object displayed by this data model.
 

Method Detail

getList

Vector getList()
Returns a list of operations that can be applied to the object displayed by this data model. If not null, the list is placed in a combo-box from which the user may select and execute an operation.

Returns:
A list of possible operations for the resource. If null, no operations combo-box will be displayed.

execute

void execute(Object op,
             BrowserDataModel model)
Performs the operation identified by the argument to the object displayed by this data model.

Parameters:
op - One of the operations supplied in the list returned by resourceOperations.

Generated Fri 11-Jun-2010 08:56 PM

Copyright © IBM 2010. All rights reserved.