g-Eclipse
Release 1.0.0

eu.geclipse.batch.ui.views
Class BatchJobView

java.lang.Object
  extended by ViewPart
      extended by eu.geclipse.batch.ui.views.BatchJobView

public class BatchJobView
extends ViewPart

Viewer of Batch jobs that are either placed in a Worker Node, Computing Element, or Queue.


Constructor Summary
BatchJobView()
           
 
Method Summary
 void contentChanged(IContentChangeNotifier source)
           
 void createPartControl(Composite parent)
          Created the table viewer for batch jobs.
 void dispose()
           
 IBatchJobInfo getSelectedJob()
          Get the currently selected job.
 java.util.List<IBatchJobInfo> getSelectedJobs()
          Get a list of all currently selected tokens.
 void setFocus()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchJobView

public BatchJobView()
Method Detail

createPartControl

public void createPartControl(Composite parent)
Created the table viewer for batch jobs.

Parameters:
parent - The composite that will contain the table.

dispose

public void dispose()

contentChanged

public void contentChanged(IContentChangeNotifier source)

setFocus

public void setFocus()

getSelectedJob

public IBatchJobInfo getSelectedJob()
Get the currently selected job. If there are more jobs selected get the first job in the list of selected jobs.

Returns:
The first job in the list of selected jobs.

getSelectedJobs

public java.util.List<IBatchJobInfo> getSelectedJobs()
Get a list of all currently selected tokens.

Returns:
A list containing all currently selected tokens.

g-Eclipse
Release 1.0.0