org.eclipse.corona.container.project.ui.view.page
Interface IRepositoryPage
- All Superinterfaces:
- org.osgi.service.event.EventHandler, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, IPCVPage, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart
- All Known Implementing Classes:
- AbstractRepositoryAdapterPage, AbstractRepositoryPage
public interface IRepositoryPage
- extends IPCVPage
This interface is implemented by project container view pages that
displays information about a single repository within the project container.
- Author:
- Marcin Okraszewski
Field Summary |
static java.lang.String |
PC_REPO_ACCESS_TYPE_ATTR
Attribute with access type for the repository page. |
static java.lang.String |
PC_REPO_CONTENT_TYPE_ATTR
Attribute with content type for the repository page. |
static java.lang.String |
PC_REPO_TAG
An extension point element with per repository page. |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
Methods inherited from interface org.eclipse.ui.IViewPart |
getViewSite, init, init, saveState |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Methods inherited from interface org.osgi.service.event.EventHandler |
handleEvent |
Methods inherited from interface org.eclipse.core.runtime.IExecutableExtension |
setInitializationData |
PC_REPO_TAG
static final java.lang.String PC_REPO_TAG
- An extension point element with per repository page.
- See Also:
- Constant Field Values
PC_REPO_CONTENT_TYPE_ATTR
static final java.lang.String PC_REPO_CONTENT_TYPE_ATTR
- Attribute with content type for the repository page.
- See Also:
- Constant Field Values
PC_REPO_ACCESS_TYPE_ATTR
static final java.lang.String PC_REPO_ACCESS_TYPE_ATTR
- Attribute with access type for the repository page.
- See Also:
- Constant Field Values
init
void init(ProjectContextContainer container,
RepositoryDescriptor repository)
- Initializes the page with proper repository. Note, it is a separate init from
those in
IViewPart
(namely: IViewPart.init(org.eclipse.ui.IViewSite)
and IViewPart.init(org.eclipse.ui.IViewSite, org.eclipse.ui.IMemento)
).
This method should be invoked before the IViewPart inits.
- Parameters:
container
- The project container for which the information will be displayed.repository
- The repository within the container that is going to be displayed.
getRepository
RepositoryDescriptor getRepository()
- Returns the repository for which the container is displayed.
- Returns:
- The repository being displayed.