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

All known Subclasses:   org.eclipse.pde.internal.ui.editor.target.TargetEditor,  org.eclipse.pde.internal.ui.editor.MultiSourceEditor,
PDEFormEditor
abstract public class PDEFormEditor extends FormEditor implements IInputContextListener,IGotoMarker,ISearchEditorAccess(Code)
A simple multi-page form editor that uses Eclipse Forms support. Example plug-in is configured to create one instance of form colors that is shared between multiple editor instances.

Inner Class :public class PDEFormEditorChangeListener implements ISelectionChangedListener

Field Summary
protected  InputContextManagerfInputContextManager
    

Constructor Summary
public  PDEFormEditor()
    

Method Summary
abstract protected  voidaddEditorPages()
    
final protected  voidaddPages()
    
public  booleancanCopy(ISelection selection)
    
public  booleancanCut(ISelection selection)
    
public  booleancanPasteFromClipboard()
    
protected  StringcomputeInitialPageId()
    
final public  voidcontextAdded(InputContext context)
    
protected  voidcontextMenuAboutToShow(IMenuManager manager)
    
public  voidcontributeToToolbar(IToolBarManager manager)
    
abstract protected  ISortableContentOutlinePagecreateContentOutline()
    
abstract protected  InputContextManagercreateInputContextManager()
    
protected  voidcreateInputContexts(InputContextManager contextManager)
    
protected  voidcreatePages()
    
abstract protected  voidcreateResourceContexts(InputContextManager contexts, IFileEditorInput input)
    
protected  IEditorSitecreateSite(IEditorPart editor)
     We must override nested site creation so that we properly pass the source editor contributor when asked.
abstract protected  voidcreateStorageContexts(InputContextManager contexts, IStorageEditorInput input)
    
abstract protected  voidcreateSystemFileContexts(InputContextManager contexts, SystemFileEditorInput input)
    
protected  FormToolkitcreateToolkit(Display display)
    
public  voiddispose()
    
public  voiddoRevert()
    
public  voiddoRevert(IEditorInput input)
    
public  voiddoSave(IProgressMonitor monitor)
    
public  voiddoSaveAs()
    
abstract public  voideditorContextAdded(InputContext context)
    
public  voideditorDirtyStateChanged()
    
public  voidfireSaveNeeded(String contextId, boolean notify)
    
public  voidfireSaveNeeded(IEditorInput input, boolean notify)
    
public  voidflushEdits()
    
public  ObjectgetAdapter(Class key)
    
public  IBaseModelgetAggregateModel()
    
public  IAnnotationModelgetAnnotationModel(Match match)
    
public  ClipboardgetClipboard()
    
public  IProjectgetCommonProject()
    
public  PDEMultiPageContentOutlinegetContentOutline()
    
public  StringgetContextIDForSaveAs()
    
public  InputContextManagergetContextManager()
    
public  MenugetContextMenu()
    
public  PDEFormEditorContributorgetContributor()
    
protected  StringgetDialogEditorPageKey()
    
public  IDocumentgetDocument(Match match)
    
abstract protected  StringgetEditorID()
    
protected  ISortableContentOutlinePagegetFormOutline()
    
abstract protected  InputContextgetInputContext(Object object)
    
public  booleangetLastDirtyState()
    
 IFormPage[]getPages()
    
protected  IProgressMonitorgetProgressMonitor()
    
protected  StringgetPropertyEditorPageKey(IFileEditorInput input)
    
public  ISelectiongetSelection()
    
protected  IStatusLineManagergetStatusLineManager()
    
public  StringgetTitle()
    
public  StringgetTitleProperty()
    
public  voidgotoMarker(IMarker marker)
    
public  booleanhasInputContext(String contextId)
     Tests whether this editor has a context with a provided id.
public  booleanisDirty()
    
public  booleanisSaveAsAllowed()
    
public  voidopenToSourcePage(Object object, int offset, int length)
    
protected  voidpageChange(int newPageIndex)
    
protected  voidperformGlobalAction(String id)
    
public  IFormPagesetActivePage(String pageId)
    
protected  voidsetDialogEditorPageKey(String pageID)
    
public  voidsetFocus()
    
protected  voidsetPropertyEditorPageKey(IFileEditorInput input, String pageId)
    
public  voidsetSelection(ISelection selection)
    
public  voidsynchronizeOutlinePage()
    
public  voidupdateTitle()
    
 voidupdateUndo(IAction undoAction, IAction redoAction)
    

Field Detail
fInputContextManager
protected InputContextManager fInputContextManager(Code)




Constructor Detail
PDEFormEditor
public PDEFormEditor()(Code)




Method Detail
addEditorPages
abstract protected void addEditorPages()(Code)



addPages
final protected void addPages()(Code)



canCopy
public boolean canCopy(ISelection selection)(Code)



canCut
public boolean canCut(ISelection selection)(Code)



canPasteFromClipboard
public boolean canPasteFromClipboard()(Code)



computeInitialPageId
protected String computeInitialPageId()(Code)



contextAdded
final public void contextAdded(InputContext context)(Code)



contextMenuAboutToShow
protected void contextMenuAboutToShow(IMenuManager manager)(Code)



contributeToToolbar
public void contributeToToolbar(IToolBarManager manager)(Code)



createContentOutline
abstract protected ISortableContentOutlinePage createContentOutline()(Code)



createInputContextManager
abstract protected InputContextManager createInputContextManager()(Code)



createInputContexts
protected void createInputContexts(InputContextManager contextManager)(Code)



createPages
protected void createPages()(Code)



createResourceContexts
abstract protected void createResourceContexts(InputContextManager contexts, IFileEditorInput input)(Code)



createSite
protected IEditorSite createSite(IEditorPart editor)(Code)
We must override nested site creation so that we properly pass the source editor contributor when asked.



createStorageContexts
abstract protected void createStorageContexts(InputContextManager contexts, IStorageEditorInput input)(Code)



createSystemFileContexts
abstract protected void createSystemFileContexts(InputContextManager contexts, SystemFileEditorInput input)(Code)



createToolkit
protected FormToolkit createToolkit(Display display)(Code)



dispose
public void dispose()(Code)



doRevert
public void doRevert()(Code)



doRevert
public void doRevert(IEditorInput input)(Code)



doSave
public void doSave(IProgressMonitor monitor)(Code)



doSaveAs
public void doSaveAs()(Code)



editorContextAdded
abstract public void editorContextAdded(InputContext context)(Code)



editorDirtyStateChanged
public void editorDirtyStateChanged()(Code)



fireSaveNeeded
public void fireSaveNeeded(String contextId, boolean notify)(Code)



fireSaveNeeded
public void fireSaveNeeded(IEditorInput input, boolean notify)(Code)



flushEdits
public void flushEdits()(Code)



getAdapter
public Object getAdapter(Class key)(Code)



getAggregateModel
public IBaseModel getAggregateModel()(Code)



getAnnotationModel
public IAnnotationModel getAnnotationModel(Match match)(Code)



getClipboard
public Clipboard getClipboard()(Code)



getCommonProject
public IProject getCommonProject()(Code)



getContentOutline
public PDEMultiPageContentOutline getContentOutline()(Code)



getContextIDForSaveAs
public String getContextIDForSaveAs()(Code)



getContextManager
public InputContextManager getContextManager()(Code)



getContextMenu
public Menu getContextMenu()(Code)



getContributor
public PDEFormEditorContributor getContributor()(Code)



getDialogEditorPageKey
protected String getDialogEditorPageKey()(Code)



getDocument
public IDocument getDocument(Match match)(Code)



getEditorID
abstract protected String getEditorID()(Code)



getFormOutline
protected ISortableContentOutlinePage getFormOutline()(Code)
outline page or null



getInputContext
abstract protected InputContext getInputContext(Object object)(Code)



getLastDirtyState
public boolean getLastDirtyState()(Code)



getPages
IFormPage[] getPages()(Code)



getProgressMonitor
protected IProgressMonitor getProgressMonitor()(Code)



getPropertyEditorPageKey
protected String getPropertyEditorPageKey(IFileEditorInput input)(Code)

Parameters:
  input -



getSelection
public ISelection getSelection()(Code)



getStatusLineManager
protected IStatusLineManager getStatusLineManager()(Code)



getTitle
public String getTitle()(Code)



getTitleProperty
public String getTitleProperty()(Code)



gotoMarker
public void gotoMarker(IMarker marker)(Code)



hasInputContext
public boolean hasInputContext(String contextId)(Code)
Tests whether this editor has a context with a provided id. The test can be used to check whether to add certain pages.
Parameters:
  contextId - true if provided context is present,false otherwise.



isDirty
public boolean isDirty()(Code)



isSaveAsAllowed
public boolean isSaveAsAllowed()(Code)



openToSourcePage
public void openToSourcePage(Object object, int offset, int length)(Code)



pageChange
protected void pageChange(int newPageIndex)(Code)



performGlobalAction
protected void performGlobalAction(String id)(Code)



setActivePage
public IFormPage setActivePage(String pageId)(Code)



setDialogEditorPageKey
protected void setDialogEditorPageKey(String pageID)(Code)

Parameters:
  pageID -



setFocus
public void setFocus()(Code)



setPropertyEditorPageKey
protected void setPropertyEditorPageKey(IFileEditorInput input, String pageId)(Code)

Parameters:
  input -
Parameters:
  pageId -



setSelection
public void setSelection(ISelection selection)(Code)



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



updateTitle
public void updateTitle()(Code)



updateUndo
void updateUndo(IAction undoAction, IAction redoAction)(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.