Java Doc for ProjectExplorer.java in  » GIS » udig-1.1 » net » refractions » udig » project » ui » internal » 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 » GIS » udig 1.1 » net.refractions.udig.project.ui.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.refractions.udig.project.ui.internal.ProjectExplorer

ProjectExplorer
public class ProjectExplorer extends ViewPart implements IMenuListener,ISetSelectionTarget,IDropTargetProvider(Code)
Displays the Projects and their contents
author:
   jeichar
since:
   0.3

Inner Class :class OpenWithActions extends Action

Field Summary
final public static  StringID
    
final public static  StringPROJECT_EXPLORER_LINKED
    
 java.util.MapdefaultEditorMap
    
 java.util.MapeditorInputsMap
    
 IPartListener2editorListener
    
 AtomicReference<SetSelectionListener>inputChangedListener
    
 ProjectRegistryprojectRegistry
    
 TreeViewertreeViewer
    

Constructor Summary
public  ProjectExplorer()
     Construct ProjectExplorer.

Method Summary
protected  voidaddEditorListener()
    
public  voidcollapseToLevel(IProject project, int i)
    
protected  voidcreateContextMenuFor(StructuredViewer viewer)
     This creates a context menu for the viewer and adds a listener as well registering the menu for extension.
public  voidcreatePartControl(Composite parent)
    
public  voiddispose()
    
public  IActionBarsgetActionBars()
    
public  ObjectgetAdapter(Class key)
     This is how the framework determines which interfaces we implement.
public  AdapterFactorygetAdapterFactory()
    
public  CompositegetContainer()
     Returns the composite object that is the UI of the ProjectExplorer.
public  UDIGEditorInputDescriptorgetEditorInput(IProjectElement obj)
     Returns an UDIGEditorInputDescriptor for the provided object.
 ListgetOpenWithActions(Class type)
    
public static  ProjectExplorergetProjectExplorer()
     Returns the ProjectExplorer view if it has been created, otherwise an object is created and returned.
public  IPropertySheetPagegetPropertySheetPage()
     This accesses a cached version of the property sheet.
public  List<T>getSelected(Class<T> clazz)
     returns the list of all the selected objects of the given class.
Parameters:
  clazz - The object types to add to the list.
public  ObjectgetTarget(DropTargetEvent event)
    
public  voidinit(IViewSite site)
     TODO summary sentence for init ...
public  booleanisLinkedWithEditor()
    
public  voidmenuAboutToShow(IMenuManager manager)
    
public  voidopen(IProjectElement obj)
     Opens a map or page in the editor.
public  voidopen(IProjectElement obj, boolean wait)
     Opens a map or page in the editor.
Parameters:
  obj - the object to open
Parameters:
  wait - indicates whether to block until the maps opens.
protected  voidremoveEditorListener()
    
public  voidselectReveal(ISelection selection)
    
public  voidsetFocus()
    
public  voidsetSelection(IProject p, boolean reveal)
    
public  voidsetSelection(Collection<? extends IProjectElement> element, boolean reveal)
     Selects the element in the tree.
public  voidsetSelection(IProjectElement element, Object elementChild)
     Selects the elementChild NOT the element.

Field Detail
ID
final public static String ID(Code)
The Extension ID of ProjectExplorer



PROJECT_EXPLORER_LINKED
final public static String PROJECT_EXPLORER_LINKED(Code)



defaultEditorMap
java.util.Map defaultEditorMap(Code)
Maps between a class and the id of the editor input to use (from the list in editorInputsMap)



editorInputsMap
java.util.Map editorInputsMap(Code)
Maps between a class and a list of associated UDIGEditorInput Objects



editorListener
IPartListener2 editorListener(Code)



inputChangedListener
AtomicReference<SetSelectionListener> inputChangedListener(Code)



projectRegistry
ProjectRegistry projectRegistry(Code)



treeViewer
TreeViewer treeViewer(Code)




Constructor Detail
ProjectExplorer
public ProjectExplorer()(Code)
Construct ProjectExplorer.




Method Detail
addEditorListener
protected void addEditorListener()(Code)



collapseToLevel
public void collapseToLevel(IProject project, int i)(Code)



createContextMenuFor
protected void createContextMenuFor(StructuredViewer viewer)(Code)
This creates a context menu for the viewer and adds a listener as well registering the menu for extension.
Parameters:
  key - The desired class An object of type key or null;



getAdapterFactory
public AdapterFactory getAdapterFactory()(Code)
a ComposeableAdapterFactory for all the Udig's EMF objects.



getContainer
public Composite getContainer()(Code)
Returns the composite object that is the UI of the ProjectExplorer. the composite object that is the UI of the ProjectExplorer.



getEditorInput
public UDIGEditorInputDescriptor getEditorInput(IProjectElement obj)(Code)
Returns an UDIGEditorInputDescriptor for the provided object. an UDIGEditorInputDescriptor for the provided object.



getOpenWithActions
List getOpenWithActions(Class type)(Code)



getProjectExplorer
public static ProjectExplorer getProjectExplorer()(Code)
Returns the ProjectExplorer view if it has been created, otherwise an object is created and returned. the ProjectExplorer view if it has been created, otherwise an object is created andreturned.



getPropertySheetPage
public IPropertySheetPage getPropertySheetPage()(Code)
This accesses a cached version of the property sheet. An IProperty page for the selected object



getSelected
public List<T> getSelected(Class<T> clazz)(Code)
returns the list of all the selected objects of the given class.
Parameters:
  clazz - The object types to add to the list. the list of all the selected objects of the given class



getTarget
public Object getTarget(DropTargetEvent event)(Code)



init
public void init(IViewSite site) throws PartInitException(Code)
TODO summary sentence for init ...
See Also:   org.eclipse.ui.part.ViewPart.init(org.eclipse.ui.IViewSite)
Parameters:
  site -
throws:
  org.eclipse.ui.PartInitException -



isLinkedWithEditor
public boolean isLinkedWithEditor()(Code)



menuAboutToShow
public void menuAboutToShow(IMenuManager manager)(Code)

See Also:   org.eclipse.jface.action.IMenuListener.menuAboutToShow(org.eclipse.jface.action.IMenuManager)



open
public void open(IProjectElement obj)(Code)
Opens a map or page in the editor.
Parameters:
  obj - the object to open



open
public void open(IProjectElement obj, boolean wait)(Code)
Opens a map or page in the editor.
Parameters:
  obj - the object to open
Parameters:
  wait - indicates whether to block until the maps opens.



removeEditorListener
protected void removeEditorListener()(Code)



selectReveal
public void selectReveal(ISelection selection)(Code)



setFocus
public void setFocus()(Code)

See Also:   org.eclipse.ui.IWorkbenchPart.setFocus



setSelection
public void setSelection(IProject p, boolean reveal)(Code)
Selects the project in the Project Explorer
Parameters:
  p - sets the selection in the project explorer
Parameters:
  reveal - TODO



setSelection
public void setSelection(Collection<? extends IProjectElement> element, boolean reveal)(Code)
Selects the element in the tree. This is a non-blocking method and selection may take a while to take effect.
Parameters:
  element - elements to select select



setSelection
public void setSelection(IProjectElement element, Object elementChild)(Code)
Selects the elementChild NOT the element.
Parameters:
  element - An ancestor of elementChild.
Parameters:
  elementChild - the element to select.



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