public class MavenRepositorySearchDialog extends AbstractMavenDialog
| Modifier and Type | Field and Description |
|---|---|
static String[] |
DEP_MANAGEMENT_SCOPES |
static String[] |
SCOPES |
KEY_HEIGHT, KEY_WIDTH, settingsblockedHandler, 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() |
protected boolean |
hasDisposedTextField() |
void |
setQuery(String query) |
close, getInitialLocation, getInitialSize, readSettingsconfigureShell, create, createButtonBar, getFirstResult, okPressed, setImage, setResult, setStatusLineAboveButtons, updateButtonsEnableState, updateStatuscreateButtonsForButtonBar, createMessageArea, getDialogBoundsSettings, getDialogBoundsStrategy, getInitialElementSelections, getInitialSelections, getMessage, getOkButton, getResult, isResizable, setDialogBoundsSettings, setInitialElementSelections, setInitialSelections, setMessage, setResult, setSelectionResult, setTitlecloseTray, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableapplyDialogFont, 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, shortenTextcanHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerpublic 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.Dialogprotected boolean hasDisposedTextField()
protected void computeResult()
computeResult in class org.eclipse.ui.dialogs.SelectionStatusDialogpublic IndexedArtifact getSelectedIndexedArtifact()
public IndexedArtifactFile getSelectedIndexedArtifactFile()
public String getSelectedScope()
Copyright © 2005–2021 Eclipse Foundation. All rights reserved.