public class MavenRepositorySearchDialog extends AbstractMavenDialog
Modifier and Type | Field and Description |
---|---|
static String[] |
DEP_MANAGEMENT_SCOPES |
static String[] |
SCOPES |
KEY_HEIGHT, KEY_WIDTH, settings
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
Modifier and Type | Method and Description |
---|---|
protected void |
computeResult() |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
static MavenRepositorySearchDialog |
createOpenPomDialog(org.eclipse.swt.widgets.Shell parent,
String title) |
static MavenRepositorySearchDialog |
createSearchDependencyDialog(org.eclipse.swt.widgets.Shell parent,
String title,
org.apache.maven.project.MavenProject mp,
org.eclipse.core.resources.IProject p,
boolean inManagedSection) |
static MavenRepositorySearchDialog |
createSearchParentDialog(org.eclipse.swt.widgets.Shell parent,
String title,
org.apache.maven.project.MavenProject mp,
org.eclipse.core.resources.IProject p) |
static MavenRepositorySearchDialog |
createSearchPluginDialog(org.eclipse.swt.widgets.Shell parent,
String title,
org.apache.maven.project.MavenProject mp,
org.eclipse.core.resources.IProject p,
boolean inManagedSection) |
IndexedArtifact |
getSelectedIndexedArtifact() |
IndexedArtifactFile |
getSelectedIndexedArtifactFile() |
String |
getSelectedScope() |
void |
setQuery(String query) |
close, getInitialLocation, getInitialSize, readSettings
configureShell, create, createButtonBar, getFirstResult, okPressed, setImage, setResult, setStatusLineAboveButtons, updateButtonsEnableState, updateStatus
createButtonsForButtonBar, createMessageArea, getDialogBoundsSettings, getDialogBoundsStrategy, getInitialElementSelections, getInitialSelections, getMessage, getOkButton, getResult, isResizable, setDialogBoundsSettings, setInitialElementSelections, setInitialSelections, setMessage, setResult, setSelectionResult, setTitle
closeTray, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
public static final String[] SCOPES
public static final String[] DEP_MANAGEMENT_SCOPES
public static MavenRepositorySearchDialog createOpenPomDialog(org.eclipse.swt.widgets.Shell parent, String title)
parent
- title
- public static MavenRepositorySearchDialog createSearchDependencyDialog(org.eclipse.swt.widgets.Shell parent, String title, org.apache.maven.project.MavenProject mp, org.eclipse.core.resources.IProject p, boolean inManagedSection)
parent
- title
- mp
- p
- inManagedSection
- true when the result will be added to the dependencyManagement section of the pom.public static MavenRepositorySearchDialog createSearchParentDialog(org.eclipse.swt.widgets.Shell parent, String title, org.apache.maven.project.MavenProject mp, org.eclipse.core.resources.IProject p)
parent
- title
- mp
- p
- public static MavenRepositorySearchDialog createSearchPluginDialog(org.eclipse.swt.widgets.Shell parent, String title, org.apache.maven.project.MavenProject mp, org.eclipse.core.resources.IProject p, boolean inManagedSection)
parent
- title
- mp
- p
- inManagedSection
- true when the result will be added to the dependencyManagement section of the pom.public void setQuery(String query)
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
protected void computeResult()
computeResult
in class org.eclipse.ui.dialogs.SelectionStatusDialog
public IndexedArtifact getSelectedIndexedArtifact()
public IndexedArtifactFile getSelectedIndexedArtifactFile()
public String getSelectedScope()
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.