Java Doc for PDESourcePage.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.PDESourcePage

All known Subclasses:   org.eclipse.pde.internal.ui.editor.PDEProjectionSourcePage,  org.eclipse.pde.internal.ui.editor.GenericSourcePage,
PDESourcePage
abstract public class PDESourcePage extends TextEditor implements IFormPage,IGotoMarker,ISelectionChangedListener,IOutlineContentCreator,IOutlineSelectionHandler(Code)


Field Summary
protected  ObjectfSelection
    

Constructor Summary
public  PDESourcePage(PDEFormEditor editor, String id, String title)
    

Method Summary
public  IDocumentRangeadaptRange(IDocumentRange range)
    
public  booleancanLeaveThePage()
    
protected  voidcreateActions()
    
public  ViewerComparatorcreateDefaultOutlineComparator()
    
abstract public  ViewerComparatorcreateOutlineComparator()
    
abstract public  ITreeContentProvidercreateOutlineContentProvider()
    
abstract public  ILabelProvidercreateOutlineLabelProvider()
    
protected  ISortableContentOutlinePagecreateOutlinePage()
    
public  voidcreatePartControl(Composite parent)
    
public  voiddispose()
    
protected  voideditorContextMenuAboutToShow(IMenuManager menu)
    
protected  IDocumentRangefindNode(IDocumentElementNode node, int offset, boolean searchChildren)
    
protected  IDocumentRangefindNode(Object[] nodes, int offset, boolean searchChildren)
     Utility method for getRangeElement(int, boolean)
Parameters:
  nodes - All entries should be instances of IDocumentElementNode
Parameters:
  offset - The offset the cursor is currently on in the document
Parameters:
  searchChildren - true to search child nodes; false otherwise.
protected  IDocumentRangefindRange()
    
protected  voidfirePropertyChange(int type)
    
public  ObjectgetAdapter(Class adapter)
     Override the getAdapter function to return a list of targets for the "Show In >" action in the context menu.
Parameters:
  adapter - A list of targets (IShowInTargetList) for the "Show In >"submenu if the appropriate adapter is passed in and the editoris not read-only.
public static  ResourceBundlegetBundleForConstructedKeys()
    
public  ISortableContentOutlinePagegetContentOutline()
    
public  FormEditorgetEditor()
    
public  StringgetId()
    
public  intgetIndex()
    
public  InputContextgetInputContext()
    
public  IManagedFormgetManagedForm()
    
public  intgetOrientation()
    
public  ObjectgetOutlineInput()
    
public  ControlgetPartControl()
    
public  IDocumentRangegetRangeElement(int offset, boolean searchChildren)
    
public  ObjectgetSelection()
    
protected  IShowInTargetListgetShowInTargetList()
     Returns the IShowInTargetList for this view.
public  ISourceViewergetViewer()
    
protected  voidhandleSelectionChangedSourcePage(SelectionChangedEvent event)
    
public  voidinitialize(FormEditor editor)
    
protected  voidinitializeKeyBindingScopes()
    
public  booleanisActive()
    
public  booleanisEditor()
    
protected  booleanisSelectionListener()
    
public  booleanselectReveal(Object object)
    
final public  voidselectionChanged(SelectionChangedEvent event)
    
public  voidsetActive(boolean active)
    
public  voidsetHighlightRange(IDocumentRange range, boolean moveCursor)
    
public  voidsetIndex(int index)
    
public  voidsetInputContext(InputContext inputContext)
    
public  voidsetSelectedRange(IDocumentRange range, boolean fullNodeSelection)
    
protected  voidsynchronizeOutlinePage(int offset)
    
public  voidsynchronizeOutlinePage()
    
protected  voidupdateHighlightRange(IDocumentRange rangeElement)
    
protected  voidupdateOutlinePageSelection(Object rangeElement)
    
public  voidupdateSelection(SelectionChangedEvent event)
    
abstract public  voidupdateSelection(Object object)
    
public  voidupdateTextSelection()
    

Field Detail
fSelection
protected Object fSelection(Code)




Constructor Detail
PDESourcePage
public PDESourcePage(PDEFormEditor editor, String id, String title)(Code)




Method Detail
adaptRange
public IDocumentRange adaptRange(IDocumentRange range)(Code)

Parameters:
  range -



canLeaveThePage
public boolean canLeaveThePage()(Code)



createActions
protected void createActions()(Code)



createDefaultOutlineComparator
public ViewerComparator createDefaultOutlineComparator()(Code)



createOutlineComparator
abstract public ViewerComparator createOutlineComparator()(Code)



createOutlineContentProvider
abstract public ITreeContentProvider createOutlineContentProvider()(Code)



createOutlineLabelProvider
abstract public ILabelProvider createOutlineLabelProvider()(Code)



createOutlinePage
protected ISortableContentOutlinePage createOutlinePage()(Code)



createPartControl
public void createPartControl(Composite parent)(Code)



dispose
public void dispose()(Code)



editorContextMenuAboutToShow
protected void editorContextMenuAboutToShow(IMenuManager menu)(Code)



findNode
protected IDocumentRange findNode(IDocumentElementNode node, int offset, boolean searchChildren)(Code)
Utility method for getRangeElement(int, boolean)
Parameters:
  node -
Parameters:
  offset -
Parameters:
  searchChildren -
See Also:    org.eclipse.pde.internal.ui.editor.PDESourcePage.findNode(Object[], int, boolean)



findNode
protected IDocumentRange findNode(Object[] nodes, int offset, boolean searchChildren)(Code)
Utility method for getRangeElement(int, boolean)
Parameters:
  nodes - All entries should be instances of IDocumentElementNode
Parameters:
  offset - The offset the cursor is currently on in the document
Parameters:
  searchChildren - true to search child nodes; false otherwise. Node the offset is in



findRange
protected IDocumentRange findRange()(Code)



firePropertyChange
protected void firePropertyChange(int type)(Code)



getAdapter
public Object getAdapter(Class adapter)(Code)
Override the getAdapter function to return a list of targets for the "Show In >" action in the context menu.
Parameters:
  adapter - A list of targets (IShowInTargetList) for the "Show In >"submenu if the appropriate adapter is passed in and the editoris not read-only. Returns super.getAdapter(adapter)otherwise.



getBundleForConstructedKeys
public static ResourceBundle getBundleForConstructedKeys()(Code)



getContentOutline
public ISortableContentOutlinePage getContentOutline()(Code)



getEditor
public FormEditor getEditor()(Code)



getId
public String getId()(Code)



getIndex
public int getIndex()(Code)



getInputContext
public InputContext getInputContext()(Code)
Returns the inputContext.



getManagedForm
public IManagedForm getManagedForm()(Code)



getOrientation
public int getOrientation()(Code)



getOutlineInput
public Object getOutlineInput()(Code)



getPartControl
public Control getPartControl()(Code)



getRangeElement
public IDocumentRange getRangeElement(int offset, boolean searchChildren)(Code)



getSelection
public Object getSelection()(Code)



getShowInTargetList
protected IShowInTargetList getShowInTargetList()(Code)
Returns the IShowInTargetList for this view. the IShowInTargetList



getViewer
public ISourceViewer getViewer()(Code)



handleSelectionChangedSourcePage
protected void handleSelectionChangedSourcePage(SelectionChangedEvent event)(Code)

Parameters:
  event -



initialize
public void initialize(FormEditor editor)(Code)



initializeKeyBindingScopes
protected void initializeKeyBindingScopes()(Code)



isActive
public boolean isActive()(Code)



isEditor
public boolean isEditor()(Code)



isSelectionListener
protected boolean isSelectionListener()(Code)



selectReveal
public boolean selectReveal(Object object)(Code)



selectionChanged
final public void selectionChanged(SelectionChangedEvent event)(Code)



setActive
public void setActive(boolean active)(Code)



setHighlightRange
public void setHighlightRange(IDocumentRange range, boolean moveCursor)(Code)



setIndex
public void setIndex(int index)(Code)



setInputContext
public void setInputContext(InputContext inputContext)(Code)

Parameters:
  inputContext - The inputContext to set.



setSelectedRange
public void setSelectedRange(IDocumentRange range, boolean fullNodeSelection)(Code)



synchronizeOutlinePage
protected void synchronizeOutlinePage(int offset)(Code)

Parameters:
  offset -



synchronizeOutlinePage
public void synchronizeOutlinePage()(Code)
Triggered by toggling the 'Link with Editor' button in the outline view
Parameters:
  offset -



updateHighlightRange
protected void updateHighlightRange(IDocumentRange rangeElement)(Code)

Parameters:
  rangeElement -



updateOutlinePageSelection
protected void updateOutlinePageSelection(Object rangeElement)(Code)

Parameters:
  rangeElement -



updateSelection
public void updateSelection(SelectionChangedEvent event)(Code)



updateSelection
abstract public void updateSelection(Object object)(Code)



updateTextSelection
public void updateTextSelection()(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.