PTP
Release 5.0

org.eclipse.ptp.ui.views
Interface IImageProvider

All Known Implementing Classes:
AbstractParallelElementView, AbstractParallelSetView, ParallelDebugView, ParallelJobsView, ParallelMachinesView

public interface IImageProvider


Method Summary
 void drawSpecial(Object obj, int index, org.eclipse.swt.graphics.GC gc, int x_loc, int y_loc, int width, int height)
          Draw special on the image
 org.eclipse.swt.graphics.Image getStatusIcon(Object obj, int index, boolean isSelected)
          Get icon status
 

Method Detail

getStatusIcon

org.eclipse.swt.graphics.Image getStatusIcon(Object obj,
                                             int index,
                                             boolean isSelected)
Get icon status

Parameters:
obj - Target element
index - Tagret index position
isSelected - whether it is selected or not
Returns:
Image

drawSpecial

void drawSpecial(Object obj,
                 int index,
                 org.eclipse.swt.graphics.GC gc,
                 int x_loc,
                 int y_loc,
                 int width,
                 int height)
Draw special on the image

Parameters:
obj - Target element
index - Tagret index position
gc - GC
x_loc - x coordinate
y_loc - y corrdinate
width - image size
height - image height

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.