org.eclipse.corona.container.project.ui.explorer.views
Class ProjectContainerExplorerView

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.explorer.views.ProjectContainerExplorerView
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.part.IWorkbenchPartOrientation

public class ProjectContainerExplorerView
extends org.eclipse.ui.part.ViewPart

The view displays information about known project containers. ProjectContainerStub is used to store information in PCX about PC and their states.

Author:
cwpl-pkaczmar

Nested Class Summary
(package private)  class ProjectContainerExplorerView.NameSorter
          NameSorter is used in PCX to sort related PC and RepositoryDescriptors of a PC. related PC are displayed before repository descriptors.
(package private)  class ProjectContainerExplorerView.ViewContentProvider
           
(package private)  class ProjectContainerExplorerView.ViewLabelProvider
           
 
Field Summary
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
ProjectContainerExplorerView()
          The constructor.
 
Method Summary
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
          This is a callback that will allow us to create the viewer and initialize it.
 void refresh()
          Method fully refreshes PCX.
 void refresh(org.eclipse.jface.viewers.IStructuredSelection selection, boolean close, boolean top)
           
 void setFocus()
           
 
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPropertyListener, dispose, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, 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.IWorkbenchPart
addPropertyListener, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

ProjectContainerExplorerView

public ProjectContainerExplorerView()
The constructor.

Method Detail

createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite parent)
This is a callback that will allow us to create the viewer and initialize it.

Specified by:
createPartControl in interface org.eclipse.ui.IWorkbenchPart
Specified by:
createPartControl in class org.eclipse.ui.part.WorkbenchPart

refresh

public void refresh()
Method fully refreshes PCX. It reinitializes the content provider with fresh data and refreshes the viewer.


refresh

public void refresh(org.eclipse.jface.viewers.IStructuredSelection selection,
                    boolean close,
                    boolean top)

setFocus

public void setFocus()
Specified by:
setFocus in interface org.eclipse.ui.IWorkbenchPart
Specified by:
setFocus in class org.eclipse.ui.part.WorkbenchPart

Copyright 2006 IBM Corporation and others.
All Rights Reserved.