|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.views.properties.PropertyDescriptor
org.eclipse.gmf.runtime.common.ui.services.properties.extended.ExtendedPropertyDescriptor
public class ExtendedPropertyDescriptor
| Constructor Summary | |
|---|---|
ExtendedPropertyDescriptor(java.lang.Object id,
java.lang.String displayName)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getBlank()
This method returns a blank value for a cell. |
java.lang.String |
getDisplayName()
|
IPropertySource |
getPropertySource()
Retrieve IPropertySource |
java.lang.Object |
getPropertyValue()
Return a value of the the property represented by this descriptor |
boolean |
isCompatibleWith(IPropertyDescriptor anotherProperty)
|
boolean |
isDirty()
Retrieve the boolean isDirty flag. |
boolean |
isReadOnly()
Return read-only status - true if editing of the property is not allowed, false otherwise |
void |
resetPropertyValue()
This method is used by the property source to reset the property that this property descriptor maps to. |
void |
setDirtyFlag(boolean dirty)
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name |
void |
setPropertySource(IPropertySource propertySource)
Sets specified IPropertySource |
void |
setPropertyValue(java.lang.Object value)
This method is used by the property source to set the property that this property descriptor maps to. |
void |
setReadOnly(boolean read)
Set read-only to true if the property is read-only, or to false otherwise |
| Methods inherited from class org.eclipse.ui.views.properties.PropertyDescriptor |
|---|
createPropertyEditor, getAlwaysIncompatible, getCategory, getDescription, getFilterFlags, getHelpContextIds, getId, getLabelProvider, getValidator, isLabelProviderSet, setAlwaysIncompatible, setCategory, setDescription, setFilterFlags, setHelpContextIds, setLabelProvider, setValidator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.gmf.runtime.common.ui.services.properties.extended.IExtendedPropertyDescriptor |
|---|
setValidator |
| Methods inherited from interface org.eclipse.gmf.runtime.common.ui.services.properties.descriptors.ICompositeSourcePropertyDescriptor |
|---|
setCategory |
| Methods inherited from interface org.eclipse.ui.views.properties.IPropertyDescriptor |
|---|
createPropertyEditor, getCategory, getDescription, getFilterFlags, getHelpContextIds, getId, getLabelProvider |
| Constructor Detail |
|---|
public ExtendedPropertyDescriptor(java.lang.Object id,
java.lang.String displayName)
id - displayName - | Method Detail |
|---|
public IPropertySource getPropertySource()
IExtendedPropertyDescriptorIPropertySource
getPropertySource in interface IExtendedPropertyDescriptorIPropertySourceIExtendedPropertyDescriptor.getPropertySource()public boolean isDirty()
IExtendedPropertyDescriptor
isDirty in interface IExtendedPropertyDescriptorIExtendedPropertyDescriptor.isDirty()public void setDirtyFlag(boolean dirty)
setDirtyFlag in interface IExtendedPropertyDescriptorIExtendedPropertyDescriptor.setDirtyFlag(boolean)public void setPropertySource(IPropertySource propertySource)
IExtendedPropertyDescriptorIPropertySource
setPropertySource in interface IExtendedPropertyDescriptorpropertySource - an instance of IPropertySourceIExtendedPropertyDescriptor.setPropertySource(org.eclipse.ui.views.properties.IPropertySource)public java.lang.Object getBlank()
IExtendedPropertyDescriptor
getBlank in interface IExtendedPropertyDescriptorIExtendedPropertyDescriptor.getBlank()public boolean isReadOnly()
ICompositeSourcePropertyDescriptor
isReadOnly in interface ICompositeSourcePropertyDescriptorICompositeSourcePropertyDescriptor.isReadOnly()public void setReadOnly(boolean read)
ICompositeSourcePropertyDescriptor
setReadOnly in interface ICompositeSourcePropertyDescriptorread - -
true if the property is read-only, or to false otherwiseICompositeSourcePropertyDescriptor.setReadOnly(boolean)public void setPropertyValue(java.lang.Object value)
ICompositeSourcePropertyDescriptor
setPropertyValue in interface ICompositeSourcePropertyDescriptorICompositeSourcePropertyDescriptor.setPropertyValue(java.lang.Object)public boolean isCompatibleWith(IPropertyDescriptor anotherProperty)
isCompatibleWith in interface IPropertyDescriptorisCompatibleWith in class PropertyDescriptorIPropertyDescriptor.isCompatibleWith(org.eclipse.ui.views.properties.IPropertyDescriptor)public java.lang.String getDisplayName()
getDisplayName in interface IPropertyDescriptorgetDisplayName in class PropertyDescriptorIPropertyDescriptor.getDisplayName()public void setDisplayName(java.lang.String displayName)
IExtendedPropertyDescriptor
setDisplayName in interface IExtendedPropertyDescriptordisplayName - the display nameIExtendedPropertyDescriptor.setDisplayName(java.lang.String)public java.lang.Object getPropertyValue()
ICompositeSourcePropertyDescriptor
getPropertyValue in interface ICompositeSourcePropertyDescriptorICompositeSourcePropertyDescriptor.getPropertyValue()public void resetPropertyValue()
ICompositeSourcePropertyDescriptor
resetPropertyValue in interface ICompositeSourcePropertyDescriptorICompositeSourcePropertyDescriptor.resetPropertyValue()
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.