Examples of IWebflowModelElement


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

   * @param command
   */
  public void runWithCommand(Command cc) {
    int result = -1;
    EditPropertiesCommand command = (EditPropertiesCommand) cc;
    IWebflowModelElement child = command.getChild();
    IWebflowModelElement newChild = command.getChildClone();

    if (openDialog) {
      if (((IWebflowModelElement) child).getElementParent() instanceof IWebflowModelElement) {
        result = DialogUtils.openPropertiesDialog(
            (IWebflowModelElement)((IWebflowModelElement) child).getElementParent(),
View Full Code Here

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

      // deleteCmd.setChild(getHost().getModel());
      // return deleteCmd;
    }
    else if (getHost().getParent().getModel() instanceof IWebflowState
        || getHost().getParent().getModel() instanceof IInlineFlowState) {
      IWebflowModelElement parent = (IWebflowModelElement) (getHost()
          .getParent().getModel());
      DeleteCommand deleteCmd = new DeleteCommand();
      deleteCmd.setParent(parent);
      deleteCmd.setChild((IState) (getHost().getModel()));
      return deleteCmd;
View Full Code Here

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

  /* (non-Javadoc)
   * @see org.eclipse.gef.commands.Command#undo()
   */
  public void undo() {
    IWebflowModelElement parent = (IWebflowModelElement) child.getElementParent();
    if (parent instanceof IEntryActions) {
      ((IEntryActions) parent).removeEntryAction(child);
    }
    else if (parent instanceof IExitActions) {
      ((IExitActions) parent).removeExitAction(child);
View Full Code Here

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

            .getStartState())) {
      flags |= FLAG_STARTSTATE;

    }
    if (element != null && element instanceof IActionElement) {
      IWebflowModelElement parent = (IWebflowModelElement) element.getElementParent();

      if (parent instanceof IEntryActions) {
        flags |= FLAG_INPUT;
      }
      else if (parent instanceof IExitActions) {
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.