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

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


 
    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

            IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
            if(window != null)
            {
                final MBeanView mbView = (MBeanView)window.getActivePage().findView(MBeanView.ID);

                final NavigationView navView = (NavigationView)window.getActivePage().findView(NavigationView.ID);
                try
                {
                    mbView.refresh();
                    navView.refresh();
                }
                catch (Exception ex)
                {
                    MBeanUtility.handleException(ex);
                }
View Full Code Here

{      
    public void run(IAction action)
    {
        if(_window != null)
        {  
            NavigationView view = (NavigationView)_window.getActivePage().findView(NavigationView.ID);
            try
            {
                view.removeServer();
            }
            catch(InfoRequiredException ex)
            {
                ViewUtility.popupInfoMessage("Remove Qpid server", ex.getMessage());
            }
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

    }
   
    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

            IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
            if(window != null)
            {
                final MBeanView mbView = (MBeanView)window.getActivePage().findView(MBeanView.ID);

                final NavigationView navView = (NavigationView)window.getActivePage().findView(NavigationView.ID);
                try
                {
                    mbView.refresh();
                    navView.refresh();
                }
                catch (Exception ex)
                {
                    MBeanUtility.handleException(ex);
                }
View Full Code Here

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

TOP

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

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.