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


Field Summary
static java.lang.String ID_HEIGHT
           
static java.lang.String ID_WIDTH
           
 
Constructor Summary
DimensionPropertySource(org.eclipse.draw2d.geometry.Dimension dimension)
           
 
Method Summary
 java.lang.Object getEditableValue()
           
 org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
           
 java.lang.Object getPropertyValue(java.lang.Object propName)
           
 java.lang.Object getPropertyValue(java.lang.String propName)
           
 org.eclipse.draw2d.geometry.Dimension getValue()
           
 boolean isPropertySet(java.lang.Object propName)
           
 boolean isPropertySet(java.lang.String propName)
           
 void resetPropertyValue(java.lang.Object propName)
           
 void resetPropertyValue(java.lang.String propName)
           
 void setPropertyValue(java.lang.Object propName, java.lang.Object value)
           
 void setPropertyValue(java.lang.String propName, java.lang.Object value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID_WIDTH

public static java.lang.String ID_WIDTH

ID_HEIGHT

public static java.lang.String ID_HEIGHT
Constructor Detail

DimensionPropertySource

public DimensionPropertySource(org.eclipse.draw2d.geometry.Dimension dimension)
Method Detail

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