Package com.salesforce.ide.ui.actions

Examples of com.salesforce.ide.ui.actions.RefreshResourceAction.selectionChanged()


                                        if (MessageDialog.openQuestion(Display.getCurrent().getActiveShell(),
                                            Messages.PackageManifestChangeListener_dialog_title, NLS.bind(
                                                Messages.PackageManifestChangeListener_dialog_message, resource
                                                        .getFullPath(), project.getName()))) {
                                            RefreshResourceAction action = new RefreshResourceAction();
                                            action.selectionChanged(null, new StructuredSelection(project));
                                            action.run(null);
                                        }
                                    }

                                } catch (ForceProjectException e) {
View Full Code Here


                        getProject().getName()))) {
                    ForceStartup.removePackageManifestChangeListener();
                    RefreshResourceAction action = new RefreshResourceAction();
                    IFolder srcFolder = getProjectService().getSourceFolder(getProject());
                    if (srcFolder != null && srcFolder.exists()) {
                        action.selectionChanged(null, new StructuredSelection(srcFolder));
                        refreshProject(action);
                        // set original summary to current saved summary only successfully refresh project
                        originalSummary = currentSavedSummary;
                    } else {
                        logger.warn("Unable to refresh package.xml changes - source folder does not exists");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.