* @see org.eclipse.gef.editparts.AbstractEditPart#getModelChildren()
*/
protected List getModelChildren() {
List<IWebflowModelElement> children = new ArrayList<IWebflowModelElement>();
if (getModel() instanceof IAttributeEnabled) {
IAttributeEnabled properties = (IAttributeEnabled) getModel();
if (properties.getAttributes() != null) {
children.addAll(properties.getAttributes());
}
}
if (getModel() instanceof IState
&& !(getModel() instanceof IWebflowState)) {
IState state = (IState) getModel();