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

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.AbstractProjectContainerPage
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, IPCVPage, IProjectContainerPage, 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

public abstract class AbstractProjectContainerPage
extends AbstractPCVPage
implements IProjectContainerPage

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


Field Summary
 
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.IProjectContainerPage
PC_PRJ_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
AbstractProjectContainerPage()
          Creates a new property sheet page.
 
Method Summary
 java.lang.String getTitle()
          The title of the tab.
 void init(ProjectContextContainer container)
          Inits the object with an associated project container.
 void init(ProjectContextContainer container, java.util.Map specialPagesRegistry)
          Default implementation for IProjectContainerPage.init(org.eclipse.corona.model.container.project.ProjectContextContainer, java.util.Map) method.
 
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
 

Constructor Detail

AbstractProjectContainerPage

public AbstractProjectContainerPage()
Creates a new property sheet page.

Method Detail

init

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

Specified by:
init in interface IProjectContainerPage
Parameters:
container - The container which is displayed in this page.

init

public void init(ProjectContextContainer container,
                 java.util.Map specialPagesRegistry)
Default implementation for IProjectContainerPage.init(org.eclipse.corona.model.container.project.ProjectContextContainer, java.util.Map) method. A view which needs to register to the registry has to override this method and register itself with unique identifier in map.

Specified by:
init in interface IProjectContainerPage
Parameters:
container - The project container for which the information will be displayed.
specialPagesRegistry - A map which contains registry of special pages e.g. overview page or eventlist page.
See Also:
IProjectContainerPage.init(org.eclipse.corona.model.container.project.ProjectContextContainer, java.util.Map)

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 from the extension point.

Copyright 2006 IBM Corporation and others.
All Rights Reserved.