|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.apache.qpid.management.ui.views.NavigationView
public class NavigationView
Navigation View for navigating the managed servers and managed beans on those servers
| Field Summary | |
|---|---|
static java.lang.String |
ID
|
static java.lang.String |
INI_FILENAME
|
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
NavigationView()
|
|
| Method Summary | |
|---|---|
void |
addManagedBean(ManagedBean mbean)
Adds the mbean to the navigation tree |
void |
addNewServer(java.lang.String transportProtocol,
java.lang.String host,
java.lang.String port,
java.lang.String domain)
Adds a new server node in the navigation view if server connection is successful. |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
This is a callback that will allow us to create the viewer and initialize it. |
void |
disconnect()
Closes the Qpid server connection |
void |
reconnect()
Connects the selected server node |
void |
refresh()
|
void |
removeServer()
Closes the Qpid server connection if not already closed and removes the server node from the navigation view and also from the ini file stored in the system. |
void |
setFocus()
Passing the focus request to the viewer's control. |
| Methods inherited from class org.eclipse.ui.part.ViewPart |
|---|
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPropertyListener, dispose, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| 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, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
public static final java.lang.String ID
public static final java.lang.String INI_FILENAME
| Constructor Detail |
|---|
public NavigationView()
| Method Detail |
|---|
public void addNewServer(java.lang.String transportProtocol,
java.lang.String host,
java.lang.String port,
java.lang.String domain)
throws java.lang.Exception
transportProtocol - host - port - domain -
java.lang.Exception
public void disconnect()
throws java.lang.Exception
java.lang.Exception
public void reconnect()
throws java.lang.Exception
java.lang.Exception
public void removeServer()
throws java.lang.Exception
java.lang.Exceptionpublic void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartpublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartpublic void refresh()
public void addManagedBean(ManagedBean mbean)
throws java.lang.Exception
mbean -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||