Java Doc for INavigatorDnDService.java in  » IDE-Eclipse » ui » org » eclipse » ui » navigator » 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 » ui » org.eclipse.ui.navigator 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.ui.navigator.INavigatorDnDService

All known Subclasses:   org.eclipse.ui.internal.navigator.dnd.NavigatorDnDService,
INavigatorDnDService
public interface INavigatorDnDService (Code)
Provides instances of CommonDragAdapterAssistant and CommonDropAdapterAssistant for the associated INavigatorContentService .

Clients should only take note of this Service they are are using the INavigatorContentService in the context of a viewer which is not or does not extend CommonViewer . Clients should take a look at the initialization of the DND support in the CommonViewer if they wish to support this capability in their own viewers.

This interface is not intended to be implemented by clients.


See Also:   CommonDragAdapter
See Also:   CommonDragAdapterAssistant
See Also:   CommonDropAdapter
See Also:   CommonDropAdapterAssistant
See Also:   CommonViewer
See Also:   INavigatorContentService.getDnDService
See Also:    Drag * and Drop: Adding Drag and Drop to an SWT Application
See Also:    Drag * and Drop in the Eclipse UI (Custom Transfer Types)
since:
   3.2




Method Summary
 voidbindDragAssistant(CommonDragAdapterAssistant anAssistant)
     Clients may choose to programmatically bind drag assistants to an instance of the DND Service.
 CommonDropAdapterAssistant[]findCommonDropAdapterAssistants(Object aDropTarget, TransferData theTransferType)
     This method returns an array of CommonDropAdapterAssistant from content extensions that are visible and active for the associated INavigatorContentService .
 CommonDropAdapterAssistant[]findCommonDropAdapterAssistants(Object aDropTarget, IStructuredSelection theDragSelection)
     This method returns an array of CommonDropAdapterAssistant from content extensions that are visible and active for the associated INavigatorContentService .

The array should be processed from the first element to the last, asking each extension to CommonDropAdapterAssistant.validateDrop(Objectintorg.eclipse.swt.dnd.TransferData) . The first to successfully validate the drop operation will have the opportunity to CommonDropAdapterAssistant.handleDrop(CommonDropAdapterorg.eclipse.swt.dnd.DropTargetEventObject) handle the drop


Parameters:
  aDropTarget - The target element in the viewer of the drop operation.
Parameters:
  theDragSelection - The drag selection of the current drop operation.
 CommonDragAdapterAssistant[]getCommonDragAssistants()
     As part of the org.eclipse.ui.navigator.viewer extension point, clients may explicit extend the support Transfer Types of a particular viewer using the dragAssistant element.



Method Detail
bindDragAssistant
void bindDragAssistant(CommonDragAdapterAssistant anAssistant)(Code)
Clients may choose to programmatically bind drag assistants to an instance of the DND Service. A programmatic binding is not persisted between sessions and is not propagated to other instances of INavigatorContentService with the same id.
Parameters:
  anAssistant - The assistant to bind.



findCommonDropAdapterAssistants
CommonDropAdapterAssistant[] findCommonDropAdapterAssistants(Object aDropTarget, TransferData theTransferType)(Code)
This method returns an array of CommonDropAdapterAssistant from content extensions that are visible and active for the associated INavigatorContentService . The array is sorted by priority, with overrides taken into account.

The array should be processed from the first element to the last, asking each extension to CommonDropAdapterAssistant.validateDrop(Objectintorg.eclipse.swt.dnd.TransferData) . The first to successfully validate the drop operation will have the opportunity to CommonDropAdapterAssistant.handleDrop(CommonDropAdapterorg.eclipse.swt.dnd.DropTargetEventObject) handle the drop


Parameters:
  aDropTarget - The target element in the viewer of the drop operation.
Parameters:
  theTransferType - The transfer type of the current drop operation. An array of CommonDropAdapterAssistants that are definedby the set oforg.eclipse.ui.navigator.navigatorContent/navigatorContentextensions that provide a possibleChildren expressionthat matches the given drop target.



findCommonDropAdapterAssistants
CommonDropAdapterAssistant[] findCommonDropAdapterAssistants(Object aDropTarget, IStructuredSelection theDragSelection)(Code)
This method returns an array of CommonDropAdapterAssistant from content extensions that are visible and active for the associated INavigatorContentService .

The array should be processed from the first element to the last, asking each extension to CommonDropAdapterAssistant.validateDrop(Objectintorg.eclipse.swt.dnd.TransferData) . The first to successfully validate the drop operation will have the opportunity to CommonDropAdapterAssistant.handleDrop(CommonDropAdapterorg.eclipse.swt.dnd.DropTargetEventObject) handle the drop


Parameters:
  aDropTarget - The target element in the viewer of the drop operation.
Parameters:
  theDragSelection - The drag selection of the current drop operation. An array of CommonDropAdapterAssistants that are definedby the set oforg.eclipse.ui.navigator.navigatorContent/navigatorContentextensions that provide a possibleChildren expressionthat matches the given drop target.



getCommonDragAssistants
CommonDragAdapterAssistant[] getCommonDragAssistants()(Code)
As part of the org.eclipse.ui.navigator.viewer extension point, clients may explicit extend the support Transfer Types of a particular viewer using the dragAssistant element. This element defines a class which extends CommonDragAdapterAssistant and can direct the viewer on how to provide different kinds of DND Transfer Types. The array is returned in no particular order. An array of CommonDragAdapterAssistant or an empty array.



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