g-Eclipse
Release 1.0.0

eu.geclipse.ui.views.jobdetails
Class JobDetail

java.lang.Object
  extended by eu.geclipse.ui.views.jobdetails.JobDetail
All Implemented Interfaces:
IJobDetail
Direct Known Subclasses:
JobTextDetail

public abstract class JobDetail
extends java.lang.Object
implements IJobDetail

Abstract implementation of job detail


Constructor Summary
JobDetail(IJobDetailsSection section)
           
 
Method Summary
 IJobDetailsSection getSection()
           
 boolean refresh(IGridJob gridJob, Composite parent, IViewConfiguration viewConfiguration)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.geclipse.ui.views.jobdetails.IJobDetail
dispose, getId, reuseWidgets
 

Constructor Detail

JobDetail

public JobDetail(IJobDetailsSection section)
Parameters:
section - in which this detail should be placed
Method Detail

getSection

public IJobDetailsSection getSection()
Specified by:
getSection in interface IJobDetail
Returns:
section, in which detail should be shown. Section should be obtained using JobDetailSectionsManager.getSection(Integer)

refresh

public boolean refresh(IGridJob gridJob,
                       Composite parent,
                       IViewConfiguration viewConfiguration)
Specified by:
refresh in interface IJobDetail
Parameters:
gridJob - job, for which details are refreshed
parent - composite, on which widgets showing details should be created
viewConfiguration - configuration of current view
Returns:
true if refreshed value is defined (not empty). If all details in section are empty, then section is hidden

g-Eclipse
Release 1.0.0