Examples of IAttributeEnabled


Examples of org.springframework.ide.eclipse.webflow.core.model.IAttributeEnabled

   * @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();
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.model.IAttributeEnabled

   * @see org.eclipse.gef.editpolicies.ComponentEditPolicy#createDeleteCommand(org.eclipse.gef.requests.GroupRequest)
   */
  protected Command createDeleteCommand(GroupRequest deleteRequest) {
    if (getHost().getModel() instanceof IAttribute
        && getHost().getParent().getModel() instanceof IAttributeEnabled) {
      IAttributeEnabled parent = (IAttributeEnabled) (getHost()
          .getParent().getModel());
      DeleteStatePropertyCommand deleteCmd = new DeleteStatePropertyCommand();
      deleteCmd.setParent(parent);
      deleteCmd.setChild((IAttribute) (getHost().getModel()));
      return deleteCmd;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.