|
Eclipse Platform Pre-release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.ui.views.properties.ResourcePropertySource
A Resource property source.
| Field Summary | |
protected IResource |
element
|
protected String |
errorMessage
|
protected static String |
FILE_NOT_EXIST_TEXT
|
protected static String |
FILE_NOT_FOUND
|
protected static String |
NOT_LOCAL_TEXT
|
protected static org.eclipse.ui.views.properties.IPropertyDescriptor[] |
propertyDescriptors
|
protected static org.eclipse.ui.views.properties.IPropertyDescriptor[] |
propertyDescriptorsLinkVariable
|
protected static String |
UNDEFINED_PATH_VARIABLE
|
| Constructor Summary | |
ResourcePropertySource(IResource res)
Creates a PropertySource and stores its IResource |
|
| Method Summary | |
Object |
getEditableValue()
|
protected File |
getFile(IResource resource)
Get the java.io.File equivalent of the passed IFile. |
org.eclipse.ui.views.properties.IPropertyDescriptor[] |
getPropertyDescriptors()
|
Object |
getPropertyValue(Object name)
|
boolean |
isPropertySet(Object property)
|
void |
resetPropertyValue(Object property)
The ResourcePropertySource implementation of this
IPropertySource method does nothing since all
properties are read-only. |
void |
setPropertyValue(Object name,
Object value)
The ResourcePropertySource implementation of this
IPropertySource method does nothing since all
properties are read-only. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static String NOT_LOCAL_TEXT
protected static String FILE_NOT_FOUND
protected static String UNDEFINED_PATH_VARIABLE
protected static String FILE_NOT_EXIST_TEXT
protected IResource element
protected String errorMessage
protected static org.eclipse.ui.views.properties.IPropertyDescriptor[] propertyDescriptors
protected static org.eclipse.ui.views.properties.IPropertyDescriptor[] propertyDescriptorsLinkVariable
| Constructor Detail |
public ResourcePropertySource(IResource res)
res - the resource for which this is a property source| Method Detail |
public Object getEditableValue()
getEditableValue in interface org.eclipse.ui.views.properties.IPropertySourcepublic org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors in interface org.eclipse.ui.views.properties.IPropertySourcepublic Object getPropertyValue(Object name)
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourcepublic boolean isPropertySet(Object property)
isPropertySet in interface org.eclipse.ui.views.properties.IPropertySourcepublic void resetPropertyValue(Object property)
ResourcePropertySource implementation of this
IPropertySource method does nothing since all
properties are read-only.
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
public void setPropertyValue(Object name,
Object value)
ResourcePropertySource implementation of this
IPropertySource method does nothing since all
properties are read-only.
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourceprotected File getFile(IResource resource)
null.
|
Eclipse Platform Pre-release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||