public interface UIProvider extends InternalRegistryElement, org.eclipse.core.runtime.IAdaptable, AdapterProvider
ECPDisposable.DisposeListener| Modifier and Type | Field and Description |
|---|---|
static org.eclipse.jface.viewers.ILabelProvider |
EMF_LABEL_PROVIDER
The LabelProvider to use in UIProviders.
|
static String |
TYPE
The Type of the Element.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.swt.widgets.Control |
createAddRepositoryUI(org.eclipse.swt.widgets.Composite parent,
ECPProperties repositoryProperties,
org.eclipse.swt.widgets.Text repositoryNameText,
org.eclipse.swt.widgets.Text repositoryLabelText,
org.eclipse.swt.widgets.Text repositoryDescriptionText)
The UIProvider can return its provider specific UI to allow the user to fill in provider specific data during the
creation of an Repository.
|
org.eclipse.swt.widgets.Control |
createCheckoutUI(org.eclipse.swt.widgets.Composite parent,
ECPCheckoutSource checkoutSource,
ECPProperties projectProperties)
The UIProvider can return a provider specific UI to allow the user to fill in provider specific data for a
checkout.
|
org.eclipse.swt.widgets.Control |
createNewProjectUI(org.eclipse.swt.widgets.Composite parent,
CompositeStateObserver observer,
ECPProperties projectProperties)
The UIProvider can return a provider specific UI to allow the user to fill in provider specific data for the
creation of a new project.
|
void |
fillContextMenu(org.eclipse.jface.action.IMenuManager manager,
ECPContainer context,
Object[] elements)
Allows the UIProvider to fill the context menu specifically.
|
org.eclipse.swt.graphics.Image |
getImage(Object element)
Returns the image for an element.
|
InternalProvider |
getProvider()
Returns the corresponding Provider for this UI Provider.
|
String |
getText(Object element)
Returns the name for an element.
|
getDescription, getLabel, setDescription, setLabelgetNamecompareToaddDisposeListener, dispose, isDisposed, removeDisposeListenergetAdapterstatic final String TYPE
static final org.eclipse.jface.viewers.ILabelProvider EMF_LABEL_PROVIDER
InternalProvider getProvider()
InternalProviderString getText(Object element)
element - the object to return the name fororg.eclipse.swt.graphics.Image getImage(Object element)
element - the object to return the image forvoid fillContextMenu(org.eclipse.jface.action.IMenuManager manager,
ECPContainer context,
Object[] elements)
manager - the IMenuManager to fillcontext - the current selected ECPContainerelements - the selected elementsorg.eclipse.swt.widgets.Control createAddRepositoryUI(org.eclipse.swt.widgets.Composite parent,
ECPProperties repositoryProperties,
org.eclipse.swt.widgets.Text repositoryNameText,
org.eclipse.swt.widgets.Text repositoryLabelText,
org.eclipse.swt.widgets.Text repositoryDescriptionText)
parent - the Composite to fillrepositoryProperties - the ECPProperties of the repository to createrepositoryNameText - the Text widget handling the repository namerepositoryLabelText - the Text widget handling the repository labelrepositoryDescriptionText - the Text widget handling the repository descriptionorg.eclipse.swt.widgets.Control createCheckoutUI(org.eclipse.swt.widgets.Composite parent,
ECPCheckoutSource checkoutSource,
ECPProperties projectProperties)
parent - the Composite to fillcheckoutSource - the Object to checkoutprojectProperties - the ECPProperties of the project to createorg.eclipse.swt.widgets.Control createNewProjectUI(org.eclipse.swt.widgets.Composite parent,
CompositeStateObserver observer,
ECPProperties projectProperties)
parent - the Composite to fillobserver - the observerprojectProperties - the ECPProperties of the project to createCopyright © 2018. All rights reserved.