addTreeListener(
new TreeListener()
{
public void onTreeItemSelected(TreeItem treeItem)
{
Workspace workspace = appContext.getWorkpace();
if("Deployments".equals(treeItem.getText()))
{
workspace.showEditor(EngineEditor.ID, DeploymentListView.ID);
}
else if("Jobs".equals(treeItem.getText()))
{
workspace.showEditor(EngineEditor.ID, JobListView.ID);
}
}
public void onTreeItemStateChanged(TreeItem treeItem)
{