public class ProfileSelectionHandler
extends org.eclipse.core.commands.AbstractHandler
Modifier and Type | Class and Description |
---|---|
(package private) class |
ProfileSelectionHandler.GetProfilesJob |
(package private) class |
ProfileSelectionHandler.UpdateProfilesJob |
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
log |
Constructor and Description |
---|
ProfileSelectionHandler() |
Modifier and Type | Method and Description |
---|---|
private void |
display(org.eclipse.swt.widgets.Shell shell,
java.lang.String message) |
java.lang.Object |
execute(org.eclipse.core.commands.ExecutionEvent event)
Opens the Maven profile selection Dialog window.
|
org.eclipse.core.runtime.IStatus |
execute(org.eclipse.swt.widgets.Shell shell,
org.eclipse.core.resources.IProject... projects) |
private java.util.Set<IMavenProjectFacade> |
getMavenProjects(org.eclipse.core.resources.IProject[] projects)
Returns an IMavenProjectFacade from the selected IResource, or from the
active editor
|
private org.eclipse.core.resources.IProject[] |
getSelectedProjects(org.eclipse.core.commands.ExecutionEvent event) |
private org.eclipse.core.runtime.jobs.IJobChangeListener |
onProfilesFetched(ProfileSelectionHandler.GetProfilesJob getProfilesJob,
java.util.Set<IMavenProjectFacade> facades,
IProfileManager profileManager,
org.eclipse.swt.widgets.Shell shell) |
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
public java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
org.eclipse.core.commands.ExecutionException
private org.eclipse.core.resources.IProject[] getSelectedProjects(org.eclipse.core.commands.ExecutionEvent event)
public org.eclipse.core.runtime.IStatus execute(org.eclipse.swt.widgets.Shell shell, org.eclipse.core.resources.IProject... projects) throws org.eclipse.core.commands.ExecutionException
org.eclipse.core.commands.ExecutionException
private org.eclipse.core.runtime.jobs.IJobChangeListener onProfilesFetched(ProfileSelectionHandler.GetProfilesJob getProfilesJob, java.util.Set<IMavenProjectFacade> facades, IProfileManager profileManager, org.eclipse.swt.widgets.Shell shell)
private void display(org.eclipse.swt.widgets.Shell shell, java.lang.String message)
private java.util.Set<IMavenProjectFacade> getMavenProjects(org.eclipse.core.resources.IProject[] projects)
event
-