org.eclipse.cdt.internal.ui.includebrowser
Class IBViewPart

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.cdt.internal.ui.includebrowser.IBViewPart
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.IShowInSource, org.eclipse.ui.part.IShowInTarget, org.eclipse.ui.part.IShowInTargetList, org.eclipse.ui.part.IWorkbenchPartOrientation

public class IBViewPart
extends org.eclipse.ui.part.ViewPart
implements org.eclipse.ui.part.IShowInSource, org.eclipse.ui.part.IShowInTarget, org.eclipse.ui.part.IShowInTargetList

The view part for the include browser.


Field Summary
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
IBViewPart()
           
 
Method Summary
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
           
 void dispose()
           
 org.eclipse.cdt.core.model.ITranslationUnit[] getHistoryEntries()
           
 org.eclipse.cdt.core.model.ITranslationUnit getInput()
           
 org.eclipse.ui.part.ShowInContext getShowInContext()
           
 java.lang.String[] getShowInTargetIds()
           
 org.eclipse.jface.viewers.TreeViewer getTreeViewer()
           
 void init(org.eclipse.ui.IViewSite site, org.eclipse.ui.IMemento memento)
           
 void onSetDirection(boolean includedBy)
           
 void saveState(org.eclipse.ui.IMemento memento)
           
 void setFocus()
           
 void setHistoryEntries(org.eclipse.cdt.core.model.ITranslationUnit[] remaining)
           
 void setInput(org.eclipse.cdt.core.model.ITranslationUnit input)
           
 void setMessage(java.lang.String msg)
           
 boolean show(org.eclipse.ui.part.ShowInContext context)
           
 
Methods inherited from class org.eclipse.ui.part.ViewPart
getViewSite, init, setInitializationData
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, showBusy
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

IBViewPart

public IBViewPart()
Method Detail

setFocus

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

setMessage

public void setMessage(java.lang.String msg)

setInput

public void setInput(org.eclipse.cdt.core.model.ITranslationUnit input)

createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createPartControl in interface org.eclipse.ui.IWorkbenchPart
Specified by:
createPartControl in class org.eclipse.ui.part.WorkbenchPart

dispose

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

init

public void init(org.eclipse.ui.IViewSite site,
                 org.eclipse.ui.IMemento memento)
          throws org.eclipse.ui.PartInitException
Specified by:
init in interface org.eclipse.ui.IViewPart
Overrides:
init in class org.eclipse.ui.part.ViewPart
Throws:
org.eclipse.ui.PartInitException

saveState

public void saveState(org.eclipse.ui.IMemento memento)
Specified by:
saveState in interface org.eclipse.ui.IPersistable
Specified by:
saveState in interface org.eclipse.ui.IViewPart
Overrides:
saveState in class org.eclipse.ui.part.ViewPart

onSetDirection

public void onSetDirection(boolean includedBy)

getShowInContext

public org.eclipse.ui.part.ShowInContext getShowInContext()
Specified by:
getShowInContext in interface org.eclipse.ui.part.IShowInSource

show

public boolean show(org.eclipse.ui.part.ShowInContext context)
Specified by:
show in interface org.eclipse.ui.part.IShowInTarget

getShowInTargetIds

public java.lang.String[] getShowInTargetIds()
Specified by:
getShowInTargetIds in interface org.eclipse.ui.part.IShowInTargetList

getTreeViewer

public org.eclipse.jface.viewers.TreeViewer getTreeViewer()

getHistoryEntries

public org.eclipse.cdt.core.model.ITranslationUnit[] getHistoryEntries()

setHistoryEntries

public void setHistoryEntries(org.eclipse.cdt.core.model.ITranslationUnit[] remaining)

getInput

public org.eclipse.cdt.core.model.ITranslationUnit getInput()