Java Doc for StructuredViewerSection.java in  » IDE-Eclipse » Eclipse-plug-in-development » org » eclipse » pde » internal » ui » editor » 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 » Eclipse plug in development » org.eclipse.pde.internal.ui.editor 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.pde.internal.ui.editor.PDESection
   org.eclipse.pde.internal.ui.editor.StructuredViewerSection

All known Subclasses:   org.eclipse.pde.internal.ui.editor.TableSection,  org.eclipse.pde.internal.ui.editor.TreeSection,
StructuredViewerSection
abstract public class StructuredViewerSection extends PDESection implements IPDEDragParticipant,IPDEDropParticipant(Code)


Field Summary
protected  StructuredViewerPartfViewerPart
    

Constructor Summary
public  StructuredViewerSection(PDEFormPage formPage, Composite parent, int style, String[] buttonLabels)
     Constructor for StructuredViewerSection.
public  StructuredViewerSection(PDEFormPage formPage, Composite parent, int style, boolean titleBar, String[] buttonLabels)
     Constructor for StructuredViewerSection.

Method Summary
protected  voidbuttonSelected(int index)
    
public  booleancanDragCopy(Object[] sourceObjects)
    
public  booleancanDragLink(Object[] sourceObjects)
    
public  booleancanDragMove(Object[] sourceObjects)
    
public  booleancanDropCopy(Object targetObject, Object[] sourceObjects, int targetLocation)
    
public  booleancanDropLink(Object targetObject, Object[] sourceObjects, int targetLocation)
    
public  booleancanDropMove(Object targetObject, Object[] sourceObjects, int targetLocation)
    
public  booleancanPaste(Clipboard clipboard)
    
protected  booleancanPaste(Object targetObject, Object[] sourceObjects)
    
protected  booleancanSelect()
    
protected  CompositecreateClientContainer(Composite parent, int span, FormToolkit toolkit)
    
abstract protected  StructuredViewerPartcreateViewerPart(String[] buttonLabels)
    
protected  voidcreateViewerPartControl(Composite parent, int style, int span, FormToolkit toolkit)
    
public  voiddoDragRemove(Object[] sourceObjects)
    
public  voiddoDropCopy(Object targetObject, Object[] sourceObjects, int targetLocation)
    
public  voiddoDropLink(Object targetObject, Object[] sourceObjects, int targetLocation)
    
public  voiddoDropMove(Object targetObject, Object[] sourceObjects, int targetLocation)
    
protected  voiddoPaste()
    
protected  voiddoPaste(Object targetObject, Object[] sourceObjects)
    
protected  voiddoSelect(boolean select)
    
protected  voidfillContextMenu(IMenuManager manager)
    
protected  intgetArrayIndex(Object[] array, Object object)
    
protected  Object[]getDragSourceObjects()
    
protected  Transfer[]getDragTransfers()
    
protected  Transfer[]getDropTransfers()
    
protected  intgetNewSelectionIndex(int thisIndex, int length)
    
public  StructuredViewerPartgetStructuredViewerPart()
    
public  intgetSupportedDNDOperations()
    
protected  ISelectiongetViewerSelection()
    
protected  voidinitializeDragAndDrop()
    
protected  booleanisDragAndDropEnabled()
    
public  voidsetFocus()
    

Field Detail
fViewerPart
protected StructuredViewerPart fViewerPart(Code)




Constructor Detail
StructuredViewerSection
public StructuredViewerSection(PDEFormPage formPage, Composite parent, int style, String[] buttonLabels)(Code)
Constructor for StructuredViewerSection.
Parameters:
  formPage -



StructuredViewerSection
public StructuredViewerSection(PDEFormPage formPage, Composite parent, int style, boolean titleBar, String[] buttonLabels)(Code)
Constructor for StructuredViewerSection.
Parameters:
  formPage -




Method Detail
buttonSelected
protected void buttonSelected(int index)(Code)



canDragCopy
public boolean canDragCopy(Object[] sourceObjects)(Code)



canDragLink
public boolean canDragLink(Object[] sourceObjects)(Code)



canDragMove
public boolean canDragMove(Object[] sourceObjects)(Code)



canDropCopy
public boolean canDropCopy(Object targetObject, Object[] sourceObjects, int targetLocation)(Code)



canDropLink
public boolean canDropLink(Object targetObject, Object[] sourceObjects, int targetLocation)(Code)



canDropMove
public boolean canDropMove(Object targetObject, Object[] sourceObjects, int targetLocation)(Code)



canPaste
public boolean canPaste(Clipboard clipboard)(Code)



canPaste
protected boolean canPaste(Object targetObject, Object[] sourceObjects)(Code)

Parameters:
  targetObject -
Parameters:
  sourceObjects -



canSelect
protected boolean canSelect()(Code)



createClientContainer
protected Composite createClientContainer(Composite parent, int span, FormToolkit toolkit)(Code)



createViewerPart
abstract protected StructuredViewerPart createViewerPart(String[] buttonLabels)(Code)



createViewerPartControl
protected void createViewerPartControl(Composite parent, int style, int span, FormToolkit toolkit)(Code)



doDragRemove
public void doDragRemove(Object[] sourceObjects)(Code)



doDropCopy
public void doDropCopy(Object targetObject, Object[] sourceObjects, int targetLocation)(Code)



doDropLink
public void doDropLink(Object targetObject, Object[] sourceObjects, int targetLocation)(Code)



doDropMove
public void doDropMove(Object targetObject, Object[] sourceObjects, int targetLocation)(Code)



doPaste
protected void doPaste()(Code)



doPaste
protected void doPaste(Object targetObject, Object[] sourceObjects)(Code)

Parameters:
  targetObject -
Parameters:
  sourceObjects -



doSelect
protected void doSelect(boolean select)(Code)

Parameters:
  select -



fillContextMenu
protected void fillContextMenu(IMenuManager manager)(Code)



getArrayIndex
protected int getArrayIndex(Object[] array, Object object)(Code)



getDragSourceObjects
protected Object[] getDragSourceObjects()(Code)
The original source objects (dragged)



getDragTransfers
protected Transfer[] getDragTransfers()(Code)



getDropTransfers
protected Transfer[] getDropTransfers()(Code)



getNewSelectionIndex
protected int getNewSelectionIndex(int thisIndex, int length)(Code)

Given the index of TreeViewer item and the size of the array of its immediate siblings, gets the index of the desired new selection as follows:

  • if this is the only item, return -1 (meaning select the parent)
  • if this is the last item, return the index of the predecessor
  • otherwise, return the index of the successor

  • Parameters:
      thisIndex - the item's index
    Parameters:
      length - the array lengthnew selection index or -1 for parent



getStructuredViewerPart
public StructuredViewerPart getStructuredViewerPart()(Code)



getSupportedDNDOperations
public int getSupportedDNDOperations()(Code)



getViewerSelection
protected ISelection getViewerSelection()(Code)



initializeDragAndDrop
protected void initializeDragAndDrop()(Code)



isDragAndDropEnabled
protected boolean isDragAndDropEnabled()(Code)



setFocus
public void setFocus()(Code)



Methods inherited from org.eclipse.pde.internal.ui.editor.PDESection
public boolean canCopy(ISelection selection)(Code)(Java Doc)
public boolean canCut(ISelection selection)(Code)(Java Doc)
public boolean canPaste(Clipboard clipboard)(Code)(Java Doc)
public void cancelEdit()(Code)(Java Doc)
abstract protected void createClient(Section section, FormToolkit toolkit)(Code)(Java Doc)
public boolean doGlobalAction(String actionId)(Code)(Java Doc)
public void fireSaveNeeded()(Code)(Java Doc)
public Object getAdapter(Class adapter)(Code)(Java Doc)
public String getContextId()(Code)(Java Doc)
public PDEFormPage getPage()(Code)(Java Doc)
protected IProject getProject()(Code)(Java Doc)
public boolean isEditable()(Code)(Java Doc)
public void modelChanged(IModelChangedEvent e)(Code)(Java Doc)

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