APStudio.models
Class DimensionPropertySource
java.lang.Object
|
+--APStudio.models.DimensionPropertySource
- All Implemented Interfaces:
- org.eclipse.ui.views.properties.IPropertySource
- public class DimensionPropertySource
- extends java.lang.Object
- implements org.eclipse.ui.views.properties.IPropertySource
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ID_WIDTH
public static java.lang.String ID_WIDTH
ID_HEIGHT
public static java.lang.String ID_HEIGHT
DimensionPropertySource
public DimensionPropertySource(org.eclipse.draw2d.geometry.Dimension dimension)
getEditableValue
public java.lang.Object getEditableValue()
- Specified by:
getEditableValue
in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.Object propName)
- Specified by:
getPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.String propName)
getValue
public org.eclipse.draw2d.geometry.Dimension getValue()
setPropertyValue
public void setPropertyValue(java.lang.Object propName,
java.lang.Object value)
- Specified by:
setPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
setPropertyValue
public void setPropertyValue(java.lang.String propName,
java.lang.Object value)
getPropertyDescriptors
public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
- Specified by:
getPropertyDescriptors
in interface org.eclipse.ui.views.properties.IPropertySource
resetPropertyValue
public void resetPropertyValue(java.lang.String propName)
resetPropertyValue
public void resetPropertyValue(java.lang.Object propName)
- Specified by:
resetPropertyValue
in interface org.eclipse.ui.views.properties.IPropertySource
isPropertySet
public boolean isPropertySet(java.lang.Object propName)
- Specified by:
isPropertySet
in interface org.eclipse.ui.views.properties.IPropertySource
isPropertySet
public boolean isPropertySet(java.lang.String propName)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object