IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.rcp.activity.core
Interface IActivity

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
AbstractWorkingAreaActivity, ActiveXWorkingAreaActivity, Activity, BCActivity, HTMLWorkingAreaActivity, OleWorkingAreaActivity, ProcessorWorkingAreaActivity, SwingWorkingAreaActivity, SWTWorkingAreaActivity, XuiCtxWorkingAreaActivity

public interface IActivity
extends java.lang.Runnable

Activity Interface


Method Summary
 void dispose()
          Dispose this activity, release its resources
 org.osgi.framework.Bundle getBundle()
          Get Bundle(org.ogsi.framework.Bundle) of this activity, this bundle is used to load class from different plugin projects.
 java.lang.String getDescription()
          Get description(java.lang.String) of this activity
 org.eclipse.jface.resource.ImageDescriptor getIcon()
          Get the icon(org.eclipse.jface.resource.ImageDescriptor) of this activity
 java.lang.String getId()
          Get id(java.lang.String) property of this activity
 java.lang.String getName()
          Get the name(java.lang.String) of this activity.
 java.lang.String getParameter()
          Get the parameter(java.lang.String) of this activity
 java.util.Map<?,?> getParams()
          Get Map property of this activity
 void initializeFrom(IActivityDefinition define)
          Initialize a activity from a IActivityDefinition object
 boolean isUnique()
          Get if this activity is global unique during its lifecycle
 void setBundle(org.osgi.framework.Bundle bundle)
          Set Bundle(org.ogsi.framework.Bundle) of this activity, this bundle is used to load class from different plugin projects.
 void setDescription(java.lang.String desc)
          Set description(java.lang.String) for this activity
 void setIcon(org.eclipse.jface.resource.ImageDescriptor icon)
          Set the icon(org.eclipse.jface.resource.ImageDescriptor) of this activity
 void setId(java.lang.String id)
          Set id(java.lang.String) property for this activity
 void setName(java.lang.String name)
          Set the name(java.lang.String) of this activity.
 void setParameter(java.lang.String parameter)
          Set the parameter(java.lang.String) of this activity
 void setParams(java.util.Map<?,?> params)
          Set Map property for this activity
 void setUnique(boolean unique)
          Set if this activity is global unique during its lifecycle
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

setId

void setId(java.lang.String id)
Set id(java.lang.String) property for this activity

Parameters:
id - the id of this activity

getId

java.lang.String getId()
Get id(java.lang.String) property of this activity

Returns:
id the id of this activity

setParams

void setParams(java.util.Map<?,?> params)
Set Map property for this activity

Parameters:
params - the context passed to this activity

getParams

java.util.Map<?,?> getParams()
Get Map property of this activity

Returns:
the context passed to this activity

getDescription

java.lang.String getDescription()
Get description(java.lang.String) of this activity

Returns:
description of this activity

setDescription

void setDescription(java.lang.String desc)
Set description(java.lang.String) for this activity

Parameters:
desc - description of this activity

setUnique

void setUnique(boolean unique)
Set if this activity is global unique during its lifecycle

Parameters:
unique - if this activity is global unique

isUnique

boolean isUnique()
Get if this activity is global unique during its lifecycle

Returns:
if this activity is global unique

getParameter

java.lang.String getParameter()
Get the parameter(java.lang.String) of this activity

Returns:
the parameter passed to this activity

setParameter

void setParameter(java.lang.String parameter)
Set the parameter(java.lang.String) of this activity

Parameters:
parameter - the parameter passed to this activity

getBundle

org.osgi.framework.Bundle getBundle()
Get Bundle(org.ogsi.framework.Bundle) of this activity, this bundle is used to load class from different plugin projects.

Returns:
Bundle of this activity

setBundle

void setBundle(org.osgi.framework.Bundle bundle)
Set Bundle(org.ogsi.framework.Bundle) of this activity, this bundle is used to load class from different plugin projects.

Parameters:
bundle - Bundle of this activity

getName

java.lang.String getName()
Get the name(java.lang.String) of this activity.

Returns:
the name of this activity

setName

void setName(java.lang.String name)
Set the name(java.lang.String) of this activity.

Parameters:
name - the name of this activity

dispose

void dispose()
Dispose this activity, release its resources


setIcon

void setIcon(org.eclipse.jface.resource.ImageDescriptor icon)
Set the icon(org.eclipse.jface.resource.ImageDescriptor) of this activity

Parameters:
icon -

getIcon

org.eclipse.jface.resource.ImageDescriptor getIcon()
Get the icon(org.eclipse.jface.resource.ImageDescriptor) of this activity

Returns:
icon

initializeFrom

void initializeFrom(IActivityDefinition define)
Initialize a activity from a IActivityDefinition object

Parameters:
define -

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010