|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrepast.simphony.agents.designer.model.AgentModelPart
repast.simphony.agents.designer.model.AgentDiagramElementModelPart
public abstract class AgentDiagramElementModelPart
| Field Summary | |
|---|---|
static String |
DEFAULT_PARENT_CLASS_NAME
|
protected String |
parentClassName
|
static String |
PROP_LOCATION
|
| Constructor Summary | |
|---|---|
AgentDiagramElementModelPart()
|
|
| Method Summary | |
|---|---|
Object |
getEditableValue()
|
Point |
getLocation()
TODO |
String |
getParentClassName()
|
IPropertyDescriptor[] |
getPropertyDescriptors()
Returns useful property flowDiagramElementDescriptors for the use in property sheets. |
protected Collection |
getPropertyDescriptorsCollection()
Returns the collection of the property descriptors |
Object |
getPropertyValue(Object propName)
Returns an Object which represents the appropriate value for the property name supplied. |
boolean |
isPropertySet(Object propName)
|
protected boolean |
isPropertySet(String propName)
TODO |
void |
resetPropertyValue(Object prop)
|
void |
setLocation(Point point)
Sets the location property and fires a change event |
void |
setParentClassName(String parentClassName)
|
void |
setPropertyValue(Object id,
Object value)
Sets the value of a given property with the value supplied. |
| Methods inherited from class repast.simphony.agents.designer.model.AgentModelPart |
|---|
addPropertyChangeListener, firePropertyChange, fireStructureChange, propertyChange, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROP_LOCATION
public static final String DEFAULT_PARENT_CLASS_NAME
protected String parentClassName
| Constructor Detail |
|---|
public AgentDiagramElementModelPart()
| Method Detail |
|---|
protected Collection getPropertyDescriptorsCollection()
public IPropertyDescriptor[] getPropertyDescriptors()
org.eclipse.ui.views.properties.IPropertySource#getPropertyDescriptors()public Object getPropertyValue(Object propName)
propName - Name of the property for which the the values are needed.
org.eclipse.ui.views.properties.IPropertySource#getPropertyValue(java.lang.Object)
public void setPropertyValue(Object id,
Object value)
id - Name of the parameter to be changed.value - Value to be set to the given parameter.org.eclipse.ui.views.properties.IPropertySource#setPropertyValue(java.lang.Object,
java.lang.Object)public void setLocation(Point point)
point - the new locationpublic Point getLocation()
public Object getEditableValue()
org.eclipse.ui.views.properties.IPropertySource#getEditableValue()public void resetPropertyValue(Object prop)
public boolean isPropertySet(Object propName)
org.eclipse.ui.views.properties.IPropertySource#isPropertySet(java.lang.Object)protected boolean isPropertySet(String propName)
propName -
public String getParentClassName()
public void setParentClassName(String parentClassName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||