org.eclipse.corona.container.project.ui.view.page
Class AbstractRepositoryPage

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.ViewPart
              extended by org.eclipse.corona.container.project.ui.view.page.AbstractPCVPage
                  extended by org.eclipse.corona.container.project.ui.view.page.AbstractRepositoryPage
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, IPCVPage, IRepositoryPage, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.part.IWorkbenchPartOrientation, org.osgi.service.event.EventHandler
Direct Known Subclasses:
AbstractRepositoryAdapterPage

public abstract class AbstractRepositoryPage
extends AbstractPCVPage
implements IRepositoryPage

An default implementation of IRepositoryPage, to make final implementation simpler.


Field Summary
protected  RepositoryDescriptor repository
          The repository within the container that is going to be displayed.
 
Fields inherited from class org.eclipse.corona.container.project.ui.view.page.AbstractPCVPage
config, container
 
Fields inherited from interface org.eclipse.corona.container.project.ui.view.page.IRepositoryPage
PC_REPO_ACCESS_TYPE_ATTR, PC_REPO_CONTENT_TYPE_ATTR, PC_REPO_TAG
 
Fields inherited from interface org.eclipse.corona.container.project.ui.view.page.IPCVPage
PC_PAGE_CLASS_ATTR, PC_PAGE_NAME_ATTR
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
AbstractRepositoryPage()
          Creates a new property sheet page.
 
Method Summary
 RepositoryDescriptor getRepository()
          Returns the repository for which the container is displayed.
 java.lang.String getTitle()
          The title of the tab.
 void init(ProjectContextContainer container, RepositoryDescriptor repository)
          Inits the object with an associated project container.
 
Methods inherited from class org.eclipse.corona.container.project.ui.view.page.AbstractPCVPage
handleEvent, setFocus, setInitializationData
 
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPropertyListener, createPartControl, dispose, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IViewPart
getViewSite, init, init, saveState
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, createPartControl, dispose, getSite, 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
 

Field Detail

repository

protected RepositoryDescriptor repository
The repository within the container that is going to be displayed.

Constructor Detail

AbstractRepositoryPage

public AbstractRepositoryPage()
Creates a new property sheet page.

Method Detail

init

public void init(ProjectContextContainer container,
                 RepositoryDescriptor repository)
Inits the object with an associated project container.

Specified by:
init in interface IRepositoryPage
Parameters:
container - The container which is displayed in this page.
repository - The repository within the container that is going to be displayed.

getRepository

public RepositoryDescriptor getRepository()
Returns the repository for which the container is displayed.

Specified by:
getRepository in interface IRepositoryPage
Returns:
The repository being displayed.

getTitle

public java.lang.String getTitle()
The title of the tab.

Specified by:
getTitle in interface org.eclipse.ui.IWorkbenchPart
Overrides:
getTitle in class org.eclipse.ui.part.WorkbenchPart
Returns:
The name of the repository.

Copyright 2006 IBM Corporation and others.
All Rights Reserved.