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


java.lang.Object
   org.eclipse.ui.internal.WorkbenchPartReference
      org.eclipse.ui.internal.EditorReference

EditorReference
public class EditorReference extends WorkbenchPartReference implements IEditorReference(Code)


Field Summary
 StringfactoryId
    
 Stringname
    
 IEditorInputrestoredInput
    

Constructor Summary
public  EditorReference(EditorManager manager, IEditorInput input, EditorDescriptor desc)
    
public  EditorReference(EditorManager manager, IEditorInput input, EditorDescriptor desc, IMemento editorState)
    
Parameters:
  manager - The editor manager for this reference
Parameters:
  input - our input
Parameters:
  desc - the descriptor from the declaration
Parameters:
  editorState - propogate state from another editor.
 EditorReference(EditorManager manager, IMemento memento)
     Constructs a new editor reference for use by editors being restored from a memento.

Method Summary
public  ImageDescriptorcomputeImageDescriptor()
    
protected  StringcomputePartName()
    
protected  PartPanecreatePane()
    
protected  IWorkbenchPartcreatePart()
     Wrapper for restoring the editor.
protected  voiddoDisposePart()
    
public  EditorDescriptorgetDescriptor()
    
public  IEditorPartgetEditor(boolean restore)
    
public  IEditorInputgetEditorInput()
    
public  IEditorPartgetEmptyEditor(EditorDescriptor descr)
    
public  StringgetFactoryId()
    
public  IMementogetMemento()
    
public  StringgetName()
    
public  IWorkbenchPagegetPage()
    
public  booleanisMultiReference()
     A quick way of finding out if this reference points to a MultiEditor.
protected  voidpartPropertyChanged(Object source, int propId)
    
public  voidpinStatusUpdated()
    
protected  voidreleaseReferences()
    
public  booleansetInput(IEditorInput input)
     Attempts to set the input of the editor to the given input.
 voidsetName(String name)
    

Field Detail
factoryId
String factoryId(Code)



name
String name(Code)
User-readable name of the editor's input



restoredInput
IEditorInput restoredInput(Code)




Constructor Detail
EditorReference
public EditorReference(EditorManager manager, IEditorInput input, EditorDescriptor desc)(Code)

Parameters:
  manager - The editor manager for this reference
Parameters:
  input - our input
Parameters:
  desc - the descriptor from the declaration



EditorReference
public EditorReference(EditorManager manager, IEditorInput input, EditorDescriptor desc, IMemento editorState)(Code)

Parameters:
  manager - The editor manager for this reference
Parameters:
  input - our input
Parameters:
  desc - the descriptor from the declaration
Parameters:
  editorState - propogate state from another editor. Can be null.



EditorReference
EditorReference(EditorManager manager, IMemento memento)(Code)
Constructs a new editor reference for use by editors being restored from a memento.




Method Detail
computeImageDescriptor
public ImageDescriptor computeImageDescriptor()(Code)



computePartName
protected String computePartName()(Code)



createPane
protected PartPane createPane()(Code)



createPart
protected IWorkbenchPart createPart()(Code)
Wrapper for restoring the editor. First, this delegates to busyRestoreEditorHelper to do the real work of restoring the view. If unable to restore the editor, this method tries to substitute an error part and return success.
Parameters:
  ref_ -
Parameters:
  manager - TODO



doDisposePart
protected void doDisposePart()(Code)



getDescriptor
public EditorDescriptor getDescriptor()(Code)



getEditor
public IEditorPart getEditor(boolean restore)(Code)



getEditorInput
public IEditorInput getEditorInput() throws PartInitException(Code)



getEmptyEditor
public IEditorPart getEmptyEditor(EditorDescriptor descr)(Code)

Parameters:
  b -



getFactoryId
public String getFactoryId()(Code)



getMemento
public IMemento getMemento()(Code)



getName
public String getName()(Code)



getPage
public IWorkbenchPage getPage()(Code)



isMultiReference
public boolean isMultiReference()(Code)
A quick way of finding out if this reference points to a MultiEditor. It depends on the fact that a MultiEditor does not lazily instantiate it's child editors. true if it has inner editor reference or the input isMultiEditorInput.



partPropertyChanged
protected void partPropertyChanged(Object source, int propId)(Code)



pinStatusUpdated
public void pinStatusUpdated()(Code)
This method is called when there should be a change in the editor pin status (added or removed) so that it will ask its presentable part to fire a PROP_TITLE event in order for the presentation to request the new icon for this editor



releaseReferences
protected void releaseReferences()(Code)



setInput
public boolean setInput(IEditorInput input)(Code)
Attempts to set the input of the editor to the given input. Note that the input can't always be changed for an editor. Editors that don't implement IReusableEditor can't have their input changed once they've been materialized.
since:
   3.1
Parameters:
  input - new input true iff the input was actually changed



setName
void setName(String name)(Code)



Fields inherited from org.eclipse.ui.internal.WorkbenchPartReference
final public static int INTERNAL_PROPERTY_ACTIVE_CHILD_CHANGED(Code)(Java Doc)
final public static int INTERNAL_PROPERTY_CLOSED(Code)(Java Doc)
final public static int INTERNAL_PROPERTY_MAXIMIZED(Code)(Java Doc)
final public static int INTERNAL_PROPERTY_OPENED(Code)(Java Doc)
final public static int INTERNAL_PROPERTY_PINNED(Code)(Java Doc)
final public static int INTERNAL_PROPERTY_VISIBLE(Code)(Java Doc)
final public static int INTERNAL_PROPERTY_ZOOMED(Code)(Java Doc)
public static int STATE_CREATED(Code)(Java Doc)
public static int STATE_CREATION_IN_PROGRESS(Code)(Java Doc)
public static int STATE_DISPOSED(Code)(Java Doc)
public static int STATE_LAZY(Code)(Java Doc)
protected PartPane pane(Code)(Java Doc)
protected IWorkbenchPart part(Code)(Java Doc)
protected Map propertyCache(Code)(Java Doc)

Methods inherited from org.eclipse.ui.internal.WorkbenchPartReference
void addInternalPropertyListener(IPropertyListener listener)(Code)(Java Doc)
public void addPartPropertyListener(IPropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyListener(IPropertyListener listener)(Code)(Java Doc)
protected void checkReference()(Code)(Java Doc)
protected String computeContentDescription()(Code)(Java Doc)
protected ImageDescriptor computeImageDescriptor()(Code)(Java Doc)
protected String computePartName()(Code)(Java Doc)
public int computePreferredSize(boolean width, int availableParallel, int availablePerpendicular, int preferredResult)(Code)(Java Doc)
protected String computeTitle()(Code)(Java Doc)
abstract protected PartPane createPane()(Code)(Java Doc)
abstract protected IWorkbenchPart createPart()(Code)(Java Doc)
protected void createPartProperties(IWorkbenchPart3 workbenchPart)(Code)(Java Doc)
final public void dispose()(Code)(Java Doc)
protected void doDisposePart()(Code)(Java Doc)
protected void fireInternalPropertyChange(int id)(Code)(Java Doc)
protected void firePartPropertyChange(PropertyChangeEvent event)(Code)(Java Doc)
protected void firePropertyChange(int id)(Code)(Java Doc)
void fireVisibilityChange()(Code)(Java Doc)
void fireZoomChange()(Code)(Java Doc)
public String getContentDescription()(Code)(Java Doc)
final public String getId()(Code)(Java Doc)
final public PartPane getPane()(Code)(Java Doc)
final public IWorkbenchPart getPart(boolean restore)(Code)(Java Doc)
public String getPartName()(Code)(Java Doc)
public String getPartProperty(String key)(Code)(Java Doc)
final protected String getRawContentDescription()(Code)(Java Doc)
final protected String getRawPartName()(Code)(Java Doc)
final protected String getRawTitle()(Code)(Java Doc)
final protected String getRawToolTip()(Code)(Java Doc)
public int getSizeFlags(boolean width)(Code)(Java Doc)
public String getTitle()(Code)(Java Doc)
final public Image getTitleImage()(Code)(Java Doc)
public ImageDescriptor getTitleImageDescriptor()(Code)(Java Doc)
public String getTitleToolTip()(Code)(Java Doc)
public boolean getVisible()(Code)(Java Doc)
public void init(String id, String title, String tooltip, ImageDescriptor desc, String paneName, String contentDescription)(Code)(Java Doc)
public boolean isDirty()(Code)(Java Doc)
public boolean isDisposed()(Code)(Java Doc)
public boolean isPinned()(Code)(Java Doc)
protected void partPropertyChanged(Object source, int propId)(Code)(Java Doc)
protected void partPropertyChanged(PropertyChangeEvent event)(Code)(Java Doc)
protected void refreshFromPart()(Code)(Java Doc)
protected void releaseReferences()(Code)(Java Doc)
void removeInternalPropertyListener(IPropertyListener listener)(Code)(Java Doc)
public void removePartPropertyListener(IPropertyChangeListener listener)(Code)(Java Doc)
public void removePropertyListener(IPropertyListener listener)(Code)(Java Doc)
protected void setContentDescription(String newContentDescription)(Code)(Java Doc)
protected void setImageDescriptor(ImageDescriptor descriptor)(Code)(Java Doc)
protected void setPartName(String newPartName)(Code)(Java Doc)
public void setPinned(boolean newPinned)(Code)(Java Doc)
protected void setTitle(String newTitle)(Code)(Java Doc)
protected void setToolTip(String newToolTip)(Code)(Java Doc)
public void setVisible(boolean isVisible)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.