|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UIProvider
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.emf.ecp.spi.core.util.ECPDisposable |
---|
ECPDisposable.DisposeListener |
Field Summary | |
---|---|
static org.eclipse.jface.viewers.ILabelProvider |
EMF_LABEL_PROVIDER
The LabelProvider to use in UIProviders. |
static String |
TYPE
The Type of the Element. |
Method Summary | |
---|---|
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. |
Methods inherited from interface org.eclipse.emf.ecp.spi.core.util.InternalRegistryElement |
---|
getDescription, getLabel, setDescription, setLabel |
Methods inherited from interface org.eclipse.emf.ecp.core.util.ECPElement |
---|
getName |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface org.eclipse.emf.ecp.spi.core.util.ECPDisposable |
---|
addDisposeListener, dispose, isDisposed, removeDisposeListener |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Methods inherited from interface org.eclipse.emf.ecp.spi.core.util.AdapterProvider |
---|
getAdapter |
Field Detail |
---|
static final String TYPE
static final org.eclipse.jface.viewers.ILabelProvider EMF_LABEL_PROVIDER
Method Detail |
---|
InternalProvider getProvider()
InternalProvider
String getText(Object element)
element
- the object to return the name for
org.eclipse.swt.graphics.Image getImage(Object element)
element
- the object to return the image for
void fillContextMenu(org.eclipse.jface.action.IMenuManager manager, ECPContainer context, Object[] elements)
manager
- the IMenuManager
to fillcontext
- the current selected ECPContainer
elements
- 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 description
org.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 create
org.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 create
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |