Package org.apache.qpid.management.ui.views

Examples of org.apache.qpid.management.ui.views.NavigationView$ContentProviderImpl


 
    public void run(IAction action)
    {
        if(_window != null)
        {  
            NavigationView view = (NavigationView)_window.getActivePage().findView(NavigationView.ID);
            try
            {
                view.disconnect();
            }
            catch(InfoRequiredException ex)
            {
                ViewUtility.popupInfoMessage(ACTION_CLOSE, ex.getMessage());
            }
View Full Code Here


{   
    public void run(IAction action)
    {
        if(_window != null)
        {  
            NavigationView view = (NavigationView)_window.getActivePage().findView(NavigationView.ID);
            view.refresh();
           
            MBeanView mbeanview = (MBeanView)_window.getActivePage().findView(MBeanView.ID);
            try
            {
                mbeanview.refresh();
View Full Code Here

    }
   
    protected void handleException(Throwable ex, String title, String msg)
    {
        //ensure first that the exception is not due to running in the wrong eclipse perspective
        NavigationView view = (NavigationView)_window.getActivePage().findView(NavigationView.ID);
        if (view == null)
        {
            IStatus status = new Status(IStatus.WARNING, ApplicationWorkbenchAdvisor.PERSPECTIVE_ID,
                    IStatus.OK, CHANGE_PERSPECTIVE, null);
            ErrorDialog.openError(_window.getShell(), "Warning", INVALID_PERSPECTIVE, status);
View Full Code Here

            ManagedBean selectedMBean = (ManagedBean)_table.getItem(selectedIndices[index]).getData();
            selectedMBeans.add(selectedMBean);
        }
       
        IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
        NavigationView view = (NavigationView)window.getActivePage().findView(NavigationView.ID);
       
        ManagedBean bean = null;
        try
        {
            for(ManagedBean mbean: selectedMBeans)
            {
                view.addManagedBean(mbean);
            }
        }
        catch (Exception ex)
        {
            MBeanUtility.handleException(bean, ex);
View Full Code Here

            refresh();
        }
       

        IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
        NavigationView view = (NavigationView)window.getActivePage().findView(NavigationView.ID);
       
        ManagedBean bean = null;
        try
        {
            for(ManagedBean mbean: selectedMBeans)
            {
                bean = mbean;
                view.addManagedBean(mbean);
            }
        }
        catch (Exception ex)
        {
            MBeanUtility.handleException(bean, ex);
View Full Code Here

{   
    public void run(IAction action)
    {
        if(_window != null)
        {  
            NavigationView view = (NavigationView)_window.getActivePage().findView(NavigationView.ID);
            view.refresh();
           
            MBeanView mbeanview = (MBeanView)_window.getActivePage().findView(MBeanView.ID);
            try
            {
                mbeanview.refreshMBeanView();
View Full Code Here

   
   
    protected void handleException(Throwable ex, String title, String msg)
    {
        MBeanUtility.printStackTrace(ex);
        NavigationView view = (NavigationView)_window.getActivePage().findView(NavigationView.ID);
        if (view == null)
        {
            IStatus status = new Status(IStatus.WARNING, ApplicationWorkbenchAdvisor.PERSPECTIVE_ID,
                    IStatus.OK, CHANGE_PERSPECTIVE, null);
            ErrorDialog.openError(_window.getShell(), "Warning", INVALID_PERSPECTIVE, status);
View Full Code Here

            ManagedBean selectedMBean = (ManagedBean)_table.getItem(selectedIndices[index]).getData();
            selectedMBeans.add(selectedMBean);
        }
       
        IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
        NavigationView view = (NavigationView)window.getActivePage().findView(NavigationView.ID);
       
        ManagedBean bean = null;
        try
        {
            for(ManagedBean mbean: selectedMBeans)
            {
                view.addManagedBean(mbean);
            }
        }
        catch (Exception ex)
        {
            MBeanUtility.handleException(bean, ex);
View Full Code Here

            String queueName = (String) queueEntry.get(0);
            selectedMBeans.add(_serverRegistry.getQueue(queueName, _virtualHost));
        }

        IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
        NavigationView view = (NavigationView)window.getActivePage().findView(NavigationView.ID);
       
        ManagedBean bean = null;
        try
        {
            for(ManagedBean mbean: selectedMBeans)
            {
                bean = mbean;
                view.addManagedBean(mbean);
            }
        }
        catch (Exception ex)
        {
            MBeanUtility.handleException(bean, ex);
View Full Code Here

TOP

Related Classes of org.apache.qpid.management.ui.views.NavigationView$ContentProviderImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.