|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ohf.stem.ui.ge.views.GEViewContentProvider
public class GEViewContentProvider
GEViewContentProvider
Constructor Summary | |
---|---|
GEViewContentProvider()
default constructor |
Method Summary | |
---|---|
void |
dispose()
Cleanup when user wants to terminate the view |
ISimulation |
getCurrentSimulation()
supply the currently selected simulation (if any) GEView does not save the current Simulation that was selected by the user. |
java.lang.Object[] |
getElements(java.lang.Object parent)
Provide the data that will be displayed in a list |
void |
inputChanged(org.eclipse.jface.viewers.Viewer v,
java.lang.Object oldInput,
java.lang.Object newInput)
This is given control when the input parent changes. |
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
This method is called whenever ANYTHING is selected in the viewer. |
void |
simulationsChanged(SimulationManagerEvent event)
We get here because we are listening for SimulationChanged events and one occured. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GEViewContentProvider()
Method Detail |
---|
public void inputChanged(org.eclipse.jface.viewers.Viewer v, java.lang.Object oldInput, java.lang.Object newInput)
inputChanged
in interface org.eclipse.jface.viewers.IContentProvider
v
- Viewer reporting changeoldInput
- old SimulationManager or nullnewInput
- new input source(new SimulationManager)public void dispose()
dispose
in interface org.eclipse.jface.viewers.IContentProvider
public java.lang.Object[] getElements(java.lang.Object parent)
getElements
in interface org.eclipse.jface.viewers.IStructuredContentProvider
parent
- Set to refer to the SimulationManager singletonpublic void simulationsChanged(SimulationManagerEvent event)
simulationsChanged
in interface ISimulationManagerListener
event
- the event that records what happened to the manager.com.ibm.almaden.stem.jobs.simulation.ISimulationManagerListener#simulationsChanged(com.ibm.almaden.stem.jobs.simulation.SimulationManagerEvent)
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
selectionChanged
in interface org.eclipse.jface.viewers.ISelectionChangedListener
ISelectionListener.selectionChanged(org.eclipse.ui.IWorkbenchPart,
org.eclipse.jface.viewers.ISelection)
public ISimulation getCurrentSimulation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |