Java Doc for JavaBrowsingPart.java in  » IDE-Eclipse » jdt » org » eclipse » jdt » internal » ui » browsing » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » jdt » org.eclipse.jdt.internal.ui.browsing 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.jdt.internal.ui.browsing.JavaBrowsingPart

All known Subclasses:   org.eclipse.jdt.internal.ui.browsing.PackagesView,  org.eclipse.jdt.internal.ui.browsing.MembersView,  org.eclipse.jdt.internal.ui.browsing.ProjectsView,  org.eclipse.jdt.internal.ui.browsing.TypesView,
JavaBrowsingPart
abstract class JavaBrowsingPart extends ViewPart implements IMenuListener,ISelectionListener,IViewPartInputProvider(Code)


Field Summary
protected  CompositeActionGroupfActionGroups
    
protected  ObjectfPreviousSelectedElement
    
protected  IWorkbenchPartfPreviousSelectionProvider
    

Constructor Summary
public  JavaBrowsingPart()
    

Method Summary
protected  voidaddFilters()
     Adds filters the viewer of this part.
protected  voidaddKeyListener()
    
 voidadjustInputAndSetSelection(Object o)
    
protected  voidcreateActions()
    
protected  IContentProvidercreateContentProvider()
     Creates the content provider of this part.
protected  voidcreateContextMenu()
    
protected  DecoratingJavaLabelProvidercreateDecoratingLabelProvider(JavaUILabelProvider provider)
    
protected  JavaElementComparatorcreateJavaElementComparator()
    
protected  JavaUILabelProvidercreateLabelProvider()
    
public  voidcreatePartControl(Composite parent)
    
protected  StatusBarUpdatercreateStatusBarUpdater(IStatusLineManager slManager)
    
protected  ILabelProvidercreateTitleProvider()
    
protected  StructuredViewercreateViewer(Composite parent)
     Creates the viewer of this part.
public  voiddispose()
    
protected  voidfillActionBars(IActionBars actionBars)
    
protected  voidfillToolBar(IToolBarManager tbm)
    
final protected  IJavaElementfindElementToSelect(Object obj)
    
abstract protected  IJavaElementfindElementToSelect(IJavaElement je)
     Finds the element which has to be selected in this part.
protected  IJavaElementfindInputForJavaElement(IJavaElement je)
    
public  ObjectgetAdapter(Class key)
    
protected  BuildActionGroupgetBuildActionGroup()
    
protected  CCPActionGroupgetCCPActionGroup()
    
final protected  DisplaygetDisplay()
    
protected  JdtViewerDropSupportgetDropSupport()
    
protected  IJavaElementgetElementAt(IEditorInput input, int offset)
    
 ObjectgetElementOfInput(IEditorInput input)
    
abstract protected  StringgetHelpContextId()
    
protected  ObjectgetInput()
    
final protected  ILabelProvidergetLabelProvider()
    
protected  intgetLabelProviderFlags()
    
abstract protected  StringgetLinkToEditorKey()
     Returns the preference key for the link to editor setting.
protected  OpenEditorActionGroupgetOpenEditorGroup()
    
 ISelectionProvidergetSelectionProvider()
     Returns the selection provider.
 ShellgetShell()
     Returns the shell to use for opening dialogs.
protected  IShowInSourcegetShowInSource()
     Returns the IShowInSource for this view.
final protected  ObjectgetSingleElementFromSelection(ISelection selection)
    
final protected  ILabelProvidergetTitleProvider()
    
public  StringgetTitleToolTip()
    
 StringgetToolTipText(Object element)
     Returns the tool tip text for the given element.
protected  ComparatorgetTypeComparator()
     Gets the typeComparator.
protected  ITypegetTypeForCU(ICompilationUnit cu)
    
public  ObjectgetViewPartInput()
    
final protected  StructuredViewergetViewer()
    
protected  voidhandleKeyReleased(KeyEvent event)
    
protected  booleanhasCustomFilter()
    
protected  booleanhasWorkingSetFilter()
    
protected  voidhookViewerListeners()
     Adds additional listeners to this view.
public  voidinit(IViewSite site, IMemento memento)
    
protected  voidinitDragAndDrop()
    
protected  booleanisAncestorOf(Object ancestor, Object element)
    
 booleanisLinkingEnabled()
    
protected  booleanisValidElement(Object element)
     Answers if the given element is a valid element for this part.
abstract protected  booleanisValidInput(Object element)
     Answers if the given element is a valid input for this part.
public  voidmenuAboutToShow(IMenuManager menu)
    
protected  booleanneedsToProcessSelectionChanged(IWorkbenchPart part, ISelection selection)
    
 voidrestoreSelection()
    
protected  voidrestoreState(IMemento memento)
    
public  voidsaveState(IMemento memento)
    
public  voidselectionChanged(IWorkbenchPart part, ISelection selection)
    
protected  voidsetActionGroups(CompositeActionGroup actionGroups)
    
protected  voidsetBuildActionGroup(BuildActionGroup actionGroup)
    
protected  voidsetCCPActionGroup(CCPActionGroup actionGroup)
    
protected  voidsetCustomFiltersActionGroup(CustomFiltersActionGroup customFiltersActionGroup)
    
public  voidsetFocus()
    
 voidsetHasCustomSetFilter(boolean state)
    
 voidsetHasWorkingSetFilter(boolean state)
    
final protected  voidsetHelp()
    
protected  voidsetInitialInput()
    
protected  voidsetInitialSelection()
    
protected  voidsetInput(Object input)
    
public  voidsetLinkingEnabled(boolean enabled)
    
protected  voidsetOpenEditorGroup(OpenEditorActionGroup openEditorGroup)
    
 voidsetProcessSelectionEvents(boolean state)
    
 voidsetSelection(ISelection selection, boolean reveal)
    
 voidsetSelectionFromEditor(IWorkbenchPart part)
    
final protected  voidsetViewer(StructuredViewer viewer)
    
 voidupdateTitle()
    

Field Detail
fActionGroups
protected CompositeActionGroup fActionGroups(Code)



fPreviousSelectedElement
protected Object fPreviousSelectedElement(Code)



fPreviousSelectionProvider
protected IWorkbenchPart fPreviousSelectionProvider(Code)




Constructor Detail
JavaBrowsingPart
public JavaBrowsingPart()(Code)




Method Detail
addFilters
protected void addFilters()(Code)
Adds filters the viewer of this part.



addKeyListener
protected void addKeyListener()(Code)
Adds the KeyListener



adjustInputAndSetSelection
void adjustInputAndSetSelection(Object o)(Code)



createActions
protected void createActions()(Code)



createContentProvider
protected IContentProvider createContentProvider()(Code)
Creates the content provider of this part. the content provider



createContextMenu
protected void createContextMenu()(Code)



createDecoratingLabelProvider
protected DecoratingJavaLabelProvider createDecoratingLabelProvider(JavaUILabelProvider provider)(Code)



createJavaElementComparator
protected JavaElementComparator createJavaElementComparator()(Code)



createLabelProvider
protected JavaUILabelProvider createLabelProvider()(Code)



createPartControl
public void createPartControl(Composite parent)(Code)



createStatusBarUpdater
protected StatusBarUpdater createStatusBarUpdater(IStatusLineManager slManager)(Code)



createTitleProvider
protected ILabelProvider createTitleProvider()(Code)



createViewer
protected StructuredViewer createViewer(Composite parent)(Code)
Creates the viewer of this part.
Parameters:
  parent - the parent for the viewer the created viewer



dispose
public void dispose()(Code)



fillActionBars
protected void fillActionBars(IActionBars actionBars)(Code)



fillToolBar
protected void fillToolBar(IToolBarManager tbm)(Code)



findElementToSelect
final protected IJavaElement findElementToSelect(Object obj)(Code)



findElementToSelect
abstract protected IJavaElement findElementToSelect(IJavaElement je)(Code)
Finds the element which has to be selected in this part.
Parameters:
  je - the Java element which has the focus returns the element to select



findInputForJavaElement
protected IJavaElement findInputForJavaElement(IJavaElement je)(Code)
Finds the closest Java element which can be used as input for this part and has the given Java element as child
Parameters:
  je - the Java element for which to search the closest input the closest Java element used as input for this part



getAdapter
public Object getAdapter(Class key)(Code)



getBuildActionGroup
protected BuildActionGroup getBuildActionGroup()(Code)



getCCPActionGroup
protected CCPActionGroup getCCPActionGroup()(Code)



getDisplay
final protected Display getDisplay()(Code)



getDropSupport
protected JdtViewerDropSupport getDropSupport()(Code)



getElementAt
protected IJavaElement getElementAt(IEditorInput input, int offset)(Code)

Parameters:
  input - the editor input
Parameters:
  offset - the offset in the file the element at the given offset



getElementOfInput
Object getElementOfInput(IEditorInput input)(Code)
Returns the element contained in the EditorInput
Parameters:
  input - the editor input the input element



getHelpContextId
abstract protected String getHelpContextId()(Code)
Returns the context ID for the Help system the string used as ID for the Help context



getInput
protected Object getInput()(Code)



getLabelProvider
final protected ILabelProvider getLabelProvider()(Code)



getLabelProviderFlags
protected int getLabelProviderFlags()(Code)



getLinkToEditorKey
abstract protected String getLinkToEditorKey()(Code)
Returns the preference key for the link to editor setting. the string used as key into the preference store



getOpenEditorGroup
protected OpenEditorActionGroup getOpenEditorGroup()(Code)



getSelectionProvider
ISelectionProvider getSelectionProvider()(Code)
Returns the selection provider. the selection provider



getShell
Shell getShell()(Code)
Returns the shell to use for opening dialogs. Used in this class, and in the actions. returns the shell



getShowInSource
protected IShowInSource getShowInSource()(Code)
Returns the IShowInSource for this view. returns the IShowInSource



getSingleElementFromSelection
final protected Object getSingleElementFromSelection(ISelection selection)(Code)



getTitleProvider
final protected ILabelProvider getTitleProvider()(Code)



getTitleToolTip
public String getTitleToolTip()(Code)



getToolTipText
String getToolTipText(Object element)(Code)
Returns the tool tip text for the given element.
Parameters:
  element - the element the tooltip for the element



getTypeComparator
protected Comparator getTypeComparator()(Code)
Gets the typeComparator. Returns a JavaElementTypeComparator



getTypeForCU
protected IType getTypeForCU(ICompilationUnit cu)(Code)



getViewPartInput
public Object getViewPartInput()(Code)



getViewer
final protected StructuredViewer getViewer()(Code)



handleKeyReleased
protected void handleKeyReleased(KeyEvent event)(Code)



hasCustomFilter
protected boolean hasCustomFilter()(Code)



hasWorkingSetFilter
protected boolean hasWorkingSetFilter()(Code)



hookViewerListeners
protected void hookViewerListeners()(Code)
Adds additional listeners to this view. This method can be overridden but should call super.



init
public void init(IViewSite site, IMemento memento) throws PartInitException(Code)



initDragAndDrop
protected void initDragAndDrop()(Code)



isAncestorOf
protected boolean isAncestorOf(Object ancestor, Object element)(Code)



isLinkingEnabled
boolean isLinkingEnabled()(Code)



isValidElement
protected boolean isValidElement(Object element)(Code)
Answers if the given element is a valid element for this part.
Parameters:
  element - the object to test true if the given element is a valid element



isValidInput
abstract protected boolean isValidInput(Object element)(Code)
Answers if the given element is a valid input for this part.
Parameters:
  element - the object to test true if the given element is a valid input



menuAboutToShow
public void menuAboutToShow(IMenuManager menu)(Code)



needsToProcessSelectionChanged
protected boolean needsToProcessSelectionChanged(IWorkbenchPart part, ISelection selection)(Code)



restoreSelection
void restoreSelection()(Code)



restoreState
protected void restoreState(IMemento memento)(Code)



saveState
public void saveState(IMemento memento)(Code)



selectionChanged
public void selectionChanged(IWorkbenchPart part, ISelection selection)(Code)



setActionGroups
protected void setActionGroups(CompositeActionGroup actionGroups)(Code)



setBuildActionGroup
protected void setBuildActionGroup(BuildActionGroup actionGroup)(Code)



setCCPActionGroup
protected void setCCPActionGroup(CCPActionGroup actionGroup)(Code)



setCustomFiltersActionGroup
protected void setCustomFiltersActionGroup(CustomFiltersActionGroup customFiltersActionGroup)(Code)



setFocus
public void setFocus()(Code)



setHasCustomSetFilter
void setHasCustomSetFilter(boolean state)(Code)



setHasWorkingSetFilter
void setHasWorkingSetFilter(boolean state)(Code)



setHelp
final protected void setHelp()(Code)



setInitialInput
protected void setInitialInput()(Code)



setInitialSelection
protected void setInitialSelection()(Code)



setInput
protected void setInput(Object input)(Code)



setLinkingEnabled
public void setLinkingEnabled(boolean enabled)(Code)



setOpenEditorGroup
protected void setOpenEditorGroup(OpenEditorActionGroup openEditorGroup)(Code)



setProcessSelectionEvents
void setProcessSelectionEvents(boolean state)(Code)



setSelection
void setSelection(ISelection selection, boolean reveal)(Code)



setSelectionFromEditor
void setSelectionFromEditor(IWorkbenchPart part)(Code)



setViewer
final protected void setViewer(StructuredViewer viewer)(Code)



updateTitle
void updateTitle()(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.