public class LifecycleMappingDialog
extends org.eclipse.jface.dialogs.Dialog
implements org.eclipse.jface.viewers.ISelectionChangedListener
Modifier and Type | Field and Description |
---|---|
private IMavenProjectFacade |
facade |
private java.lang.String |
goal |
private java.lang.String |
pluginArtifactId |
private java.lang.String |
pluginGroupId |
private ParentHierarchyEntry |
pluginProject |
private java.lang.String |
pluginVersion |
private PomHierarchyComposite |
pomComposite |
private org.eclipse.core.resources.IFile |
pomFile |
private org.eclipse.swt.custom.CLabel |
status |
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
Constructor and Description |
---|
LifecycleMappingDialog(org.eclipse.swt.widgets.Shell parentShell,
org.eclipse.core.resources.IFile pom,
java.lang.String pluginGroupId,
java.lang.String pluginArtifactId,
java.lang.String pluginVersion,
java.lang.String goal) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureShell(org.eclipse.swt.widgets.Shell shell) |
protected void |
createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
org.eclipse.core.resources.IFile |
getPomFile() |
private ParentHierarchyEntry |
locatePlugin() |
protected void |
okPressed() |
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event) |
private void |
updateStatus(ParentHierarchyEntry project) |
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
private PomHierarchyComposite pomComposite
private org.eclipse.swt.custom.CLabel status
private org.eclipse.core.resources.IFile pomFile
private IMavenProjectFacade facade
private java.lang.String pluginGroupId
private java.lang.String pluginArtifactId
private java.lang.String pluginVersion
private java.lang.String goal
private ParentHierarchyEntry pluginProject
public LifecycleMappingDialog(org.eclipse.swt.widgets.Shell parentShell, org.eclipse.core.resources.IFile pom, java.lang.String pluginGroupId, java.lang.String pluginArtifactId, java.lang.String pluginVersion, java.lang.String goal)
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
configureShell
in class org.eclipse.jface.window.Window
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
createButtonsForButtonBar
in class org.eclipse.jface.dialogs.Dialog
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
selectionChanged
in interface org.eclipse.jface.viewers.ISelectionChangedListener
private void updateStatus(ParentHierarchyEntry project)
protected void okPressed()
okPressed
in class org.eclipse.jface.dialogs.Dialog
public org.eclipse.core.resources.IFile getPomFile()
private ParentHierarchyEntry locatePlugin()