Package org.springframework.ide.eclipse.webflow.core.model

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


    data1.widthHint = 40;
    addButton.setLayoutData(data1);
    addButton.addSelectionListener(new SelectionAdapter() {

      public void widgetSelected(SelectionEvent e) {
        IAttribute property = new Attribute();
        property.createNew(state);
        PropertyEditorDialog dialog = new PropertyEditorDialog(
            parentShell, property);
        if (dialog.open() == Dialog.OK) {
          state.addAttribute(property);
          configsViewer.refresh(true);
View Full Code Here


                            index)); //$NON-NLS-1$
                }
                else if (child.getModel() instanceof IAttribute
                        && (getHost().getModel() instanceof IActionElement || getHost()
                                .getModel() instanceof IState)) {
                    IAttribute childModel = (IAttribute) child.getModel();
                    command.add(createDeletePropertyCommand(childModel));
                    command.add(createCreatePropertyCommand(childModel, index));
                }
                else if (child.getModel() instanceof IIf
                        && getHost().getModel() instanceof IDecisionState) {
View Full Code Here

      else {
        buf.append("attribute-mapper");
      }
    }
    else if (element instanceof IAttribute) {
      IAttribute property = (IAttribute) element;
      buf.append(property.getName());
      buf.append("=");
      buf.append(property.getValue());
    }
    else if (element instanceof IIf) {
      IIf theIf = (IIf) element;
      // int index = ((IDecisionState)
      // theIf.getElementParent()).getIfs().indexOf(theIf) + 1;
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.webflow.core.model.IAttribute

Copyright © 2018 www.massapicom. 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.