iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.core.ui.view.job
Class JobStatusView

java.lang.Object
  extended byorg.eclipse.ui.part.WorkbenchPart
      extended byorg.eclipse.ui.part.ViewPart
          extended bycom.ibm.etools.iseries.core.ui.view.job.JobStatusView
All Implemented Interfaces:
IAdaptable, IExecutableExtension, IMenuListener, ISelectionProvider, IViewPart, IWorkbenchPart, IWorkbenchPart2, Observer

public class JobStatusView
extends ViewPart
implements Observer, IMenuListener, ISelectionProvider

Provides the view for build job status.


Field Summary
static String Copyright
           
static String ViewID
           
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
JobStatusView()
          Constructor for BuildStatusView.
 
Method Summary
 void addSelectionChangedListener(ISelectionChangedListener listener)
           
 void createPartControl(Composite parent)
          Creates the controls for the workbench part.
 void dispose()
          Disposes of resources when the view closes.
 ISelection getSelection()
           
 void menuAboutToShow(IMenuManager manager)
           
 void removeSelectionChangedListener(ISelectionChangedListener listener)
           
 void setFocus()
          Accepts focus.
 void setInitializationData(IConfigurationElement config, String propertyName, Object data)
          Initialize the view immmediately after the plugin is loaded.
 void setSelection(ISelection selection)
           
static void showView(boolean bringToTop)
          Helper method for displaying the view
 void update(Observable model, Object arg)
          Informs this view that changes have been made to the model.
 
Methods inherited from class org.eclipse.ui.part.ViewPart
getViewSite, init, init, saveState, setContentDescription, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPropertyListener, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

ViewID

public static final String ViewID
See Also:
Constant Field Values
Constructor Detail

JobStatusView

public JobStatusView()
Constructor for BuildStatusView.

Method Detail

setInitializationData

public void setInitializationData(IConfigurationElement config,
                                  String propertyName,
                                  Object data)
Initialize the view immmediately after the plugin is loaded. Typically used to set attributes for this element from the plugin.xml. Used here to find the JobTicketManager instance being viewed.

Specified by:
setInitializationData in interface IExecutableExtension

createPartControl

public void createPartControl(Composite parent)
Creates the controls for the workbench part.

Specified by:
createPartControl in interface IWorkbenchPart

setFocus

public void setFocus()
Accepts focus.

Specified by:
setFocus in interface IWorkbenchPart

dispose

public void dispose()
Disposes of resources when the view closes.

Specified by:
dispose in interface IWorkbenchPart

update

public void update(Observable model,
                   Object arg)
Informs this view that changes have been made to the model.

Specified by:
update in interface Observer

menuAboutToShow

public void menuAboutToShow(IMenuManager manager)
Specified by:
menuAboutToShow in interface IMenuListener

addSelectionChangedListener

public void addSelectionChangedListener(ISelectionChangedListener listener)
Specified by:
addSelectionChangedListener in interface ISelectionProvider

getSelection

public ISelection getSelection()
Specified by:
getSelection in interface ISelectionProvider

removeSelectionChangedListener

public void removeSelectionChangedListener(ISelectionChangedListener listener)
Specified by:
removeSelectionChangedListener in interface ISelectionProvider

setSelection

public void setSelection(ISelection selection)
Specified by:
setSelection in interface ISelectionProvider

showView

public static void showView(boolean bringToTop)
Helper method for displaying the view


iSeries Remote Systems
v6.0.0

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.