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


org.eclipse.ui.views.properties.IPropertyDescriptor

All known Subclasses:   org.eclipse.ui.views.properties.PropertyDescriptor,
IPropertyDescriptor
public interface IPropertyDescriptor (Code)
A descriptor for a property to be presented by a standard property sheet page (PropertySheetPage). These descriptors originate with property sources (IPropertySource).

A property descriptor carries the following information:

  • property id (required)
  • display name (required)
  • brief description of the property (optional)
  • category for grouping related properties (optional)
  • label provider used to display the property value (optional)
  • cell editor for changing the property value (optional)
  • help context id (optional)

Clients may implement this interface to provide specialized property descriptors; however, there are standard implementations declared in this package that take care of the most common cases:

  • PropertyDescriptor - read-only property
  • TextPropertyDescriptor - edits with a TextCellEditor
  • CheckboxPropertyDescriptor - edits with a CheckboxCellEditor
  • ComboBoxPropertyDescriptor - edits with a ComboBoxCellEditor
  • ColorPropertyDescriptor - edits with a ColorCellEditor


See Also:   IPropertySource.getPropertyDescriptors




Method Summary
public  CellEditorcreatePropertyEditor(Composite parent)
     Creates and returns a new cell editor for editing this property.
public  StringgetCategory()
     Returns the name of the category to which this property belongs.
public  StringgetDescription()
     Returns a brief description of this property.
public  StringgetDisplayName()
     Returns the display name for this property.
public  String[]getFilterFlags()
     Returns a list of filter types to which this property belongs.
public  ObjectgetHelpContextIds()
     Returns the help context id for this property or null if this property has no help context id.

NOTE: Help support system API's changed since 2.0 and arrays of contexts are no longer supported.

Thus the only valid non-null return type for this method is a String representing a context id.

public  ObjectgetId()
     Returns the id for this property.
public  ILabelProvidergetLabelProvider()
     Returns the label provider for this property.
public  booleanisCompatibleWith(IPropertyDescriptor anotherProperty)
     Returns whether this property descriptor and the given one are compatible.



Method Detail
createPropertyEditor
public CellEditor createPropertyEditor(Composite parent)(Code)
Creates and returns a new cell editor for editing this property. Returns null if the property is not editable.
Parameters:
  parent - the parent widget for the cell editor the cell editor for this property, or null if thisproperty cannot be edited



getCategory
public String getCategory()(Code)
Returns the name of the category to which this property belongs. Properties belonging to the same category are grouped together visually. This localized string is shown to the user the category name, or null if the default category is tobe used



getDescription
public String getDescription()(Code)
Returns a brief description of this property. This localized string is shown to the user when this property is selected. a brief description, or null if none



getDisplayName
public String getDisplayName()(Code)
Returns the display name for this property. This localized string is shown to the user as the name of this property. a displayable name



getFilterFlags
public String[] getFilterFlags()(Code)
Returns a list of filter types to which this property belongs. The user is able to toggle the filters to show/hide properties belonging to a filter type.

Valid values for these flags are declared as constants on IPropertySheetEntry

a list of filter types to which this property belongs, ornull if none



getHelpContextIds
public Object getHelpContextIds()(Code)
Returns the help context id for this property or null if this property has no help context id.

NOTE: Help support system API's changed since 2.0 and arrays of contexts are no longer supported.

Thus the only valid non-null return type for this method is a String representing a context id. The previously valid return types are deprecated. The plural name for this method is unfortunate.

the help context id for this entry



getId
public Object getId()(Code)
Returns the id for this property. This object is used internally to distinguish one property descriptor from another. the property id



getLabelProvider
public ILabelProvider getLabelProvider()(Code)
Returns the label provider for this property. The label provider is used to obtain the text (and possible image) for displaying the value of this property. the label provider used to display this property



isCompatibleWith
public boolean isCompatibleWith(IPropertyDescriptor anotherProperty)(Code)
Returns whether this property descriptor and the given one are compatible.

The property sheet uses this method during multiple selection to determine whether two property descriptors with the same id are in fact the same property and can be displayed as a single entry in the property sheet.


Parameters:
  anotherProperty - the other property descriptor true if the property descriptors are compatible, and false otherwise



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