Package com.salesforce.ide.ui.actions

Examples of com.salesforce.ide.ui.actions.ShowInBrowserAction


                index = Integer.parseInt(e.data.toString());
            } catch (NumberFormatException e1) {
                logger.error("An error occured while opening the selected resource in the web", e1); //$NON-NLS-1$
            }

            ShowInBrowserAction action =
                    (ShowInBrowserAction) ContainerDelegate.getInstance().getBean("showInBrowserAction"); //$NON-NLS-1$
            StructuredSelection structuredSelection = new StructuredSelection(resources.get(index));
            action.selectionChanged(action, structuredSelection);
            action.execute(action);
        } catch (ForceProjectException e1) {
            logger.warn("An error occured while opening the selected resource in the web", e1); //$NON-NLS-1$
        }
    }
View Full Code Here

TOP

Related Classes of com.salesforce.ide.ui.actions.ShowInBrowserAction

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.