public abstract class ScmHandlerUi extends Object implements org.eclipse.core.runtime.IExecutableExtension
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_CLASS |
static String |
ATTR_TYPE |
Constructor and Description |
---|
ScmHandlerUi() |
Modifier and Type | Method and Description |
---|---|
boolean |
canSelectRevision() |
boolean |
canSelectUrl() |
String |
getType() |
boolean |
isValidRevision(ScmUrl scmUrl,
String scmRevision) |
boolean |
isValidUrl(String scmUrl) |
String |
selectRevision(org.eclipse.swt.widgets.Shell shell,
ScmUrl scmUrl,
String scmRevision)
Show revision/tag browser dialog and allow user to select revision/tag
|
ScmUrl |
selectUrl(org.eclipse.swt.widgets.Shell shell,
ScmUrl scmUrl)
Show repository browser dialog and allow user to select location
|
void |
setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
String propertyName,
Object data) |
public static final String ATTR_TYPE
public static final String ATTR_CLASS
public String getType()
public String selectRevision(org.eclipse.swt.widgets.Shell shell, ScmUrl scmUrl, String scmRevision)
shell
- the shell for revison/tag browser dialogscmUrl
- the current ScmUrl
, or null if nonescmRevision
- the current revision, or null if nonepublic ScmUrl selectUrl(org.eclipse.swt.widgets.Shell shell, ScmUrl scmUrl)
shell
- the shell for repository browser dialogscmUrl
- the current ScmUrl
, or null if nonepublic boolean isValidUrl(String scmUrl)
public boolean canSelectUrl()
public boolean canSelectRevision()
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.