|
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()
IExtendedPropertyDescriptor
IPropertySource
getPropertySource
in interface IExtendedPropertyDescriptor
IPropertySource
IExtendedPropertyDescriptor.getPropertySource()
public boolean isDirty()
IExtendedPropertyDescriptor
isDirty
in interface IExtendedPropertyDescriptor
IExtendedPropertyDescriptor.isDirty()
public void setDirtyFlag(boolean dirty)
setDirtyFlag
in interface IExtendedPropertyDescriptor
IExtendedPropertyDescriptor.setDirtyFlag(boolean)
public void setPropertySource(IPropertySource propertySource)
IExtendedPropertyDescriptor
IPropertySource
setPropertySource
in interface IExtendedPropertyDescriptor
propertySource
- an instance of IPropertySource
IExtendedPropertyDescriptor.setPropertySource(org.eclipse.ui.views.properties.IPropertySource)
public java.lang.Object getBlank()
IExtendedPropertyDescriptor
getBlank
in interface IExtendedPropertyDescriptor
IExtendedPropertyDescriptor.getBlank()
public boolean isReadOnly()
ICompositeSourcePropertyDescriptor
isReadOnly
in interface ICompositeSourcePropertyDescriptor
ICompositeSourcePropertyDescriptor.isReadOnly()
public void setReadOnly(boolean read)
ICompositeSourcePropertyDescriptor
setReadOnly
in interface ICompositeSourcePropertyDescriptor
read
- -
true if the property is read-only, or to false otherwiseICompositeSourcePropertyDescriptor.setReadOnly(boolean)
public void setPropertyValue(java.lang.Object value)
ICompositeSourcePropertyDescriptor
setPropertyValue
in interface ICompositeSourcePropertyDescriptor
ICompositeSourcePropertyDescriptor.setPropertyValue(java.lang.Object)
public boolean isCompatibleWith(IPropertyDescriptor anotherProperty)
isCompatibleWith
in interface IPropertyDescriptor
isCompatibleWith
in class PropertyDescriptor
IPropertyDescriptor.isCompatibleWith(org.eclipse.ui.views.properties.IPropertyDescriptor)
public java.lang.String getDisplayName()
getDisplayName
in interface IPropertyDescriptor
getDisplayName
in class PropertyDescriptor
IPropertyDescriptor.getDisplayName()
public void setDisplayName(java.lang.String displayName)
IExtendedPropertyDescriptor
setDisplayName
in interface IExtendedPropertyDescriptor
displayName
- the display nameIExtendedPropertyDescriptor.setDisplayName(java.lang.String)
public java.lang.Object getPropertyValue()
ICompositeSourcePropertyDescriptor
getPropertyValue
in interface ICompositeSourcePropertyDescriptor
ICompositeSourcePropertyDescriptor.getPropertyValue()
public void resetPropertyValue()
ICompositeSourcePropertyDescriptor
resetPropertyValue
in interface ICompositeSourcePropertyDescriptor
ICompositeSourcePropertyDescriptor.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.