/[cashew-s-editor]/cashews/src/nongnu/cashews/eclipse/gui/ConnectionPage.java
ViewVC logotype

Diff of /cashews/src/nongnu/cashews/eclipse/gui/ConnectionPage.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by gnu_andrew, Wed May 11 07:16:05 2005 UTC revision 1.2 by gnu_andrew, Fri May 13 01:46:42 2005 UTC
# Line 49  import org.eclipse.swt.events.SelectionE Line 49  import org.eclipse.swt.events.SelectionE
49  import org.eclipse.swt.layout.RowLayout;  import org.eclipse.swt.layout.RowLayout;
50  import org.eclipse.swt.widgets.Button;  import org.eclipse.swt.widgets.Button;
51  import org.eclipse.swt.widgets.Composite;  import org.eclipse.swt.widgets.Composite;
52    import org.eclipse.swt.widgets.Control;
53  import org.eclipse.swt.widgets.FileDialog;  import org.eclipse.swt.widgets.FileDialog;
54  import org.eclipse.swt.widgets.Label;  import org.eclipse.swt.widgets.Label;
55  import org.eclipse.swt.widgets.List;  import org.eclipse.swt.widgets.List;
# Line 64  public class ConnectionPage Line 65  public class ConnectionPage
65    extends WizardPage    extends WizardPage
66  {  {
67    
68      List list1, list2;
69    
70    /**    /**
71     * The map of strings in the list to performances.     * The map of strings in the list to performances.
72     */     */
# Line 89  public class ConnectionPage Line 92  public class ConnectionPage
92      layout.justify = true;      layout.justify = true;
93      layout.fill = false;      layout.fill = false;
94      container.setLayout(layout);      container.setLayout(layout);
95      List list1 = new List(container, SWT.CENTER | SWT.SINGLE);      list1 = new List(container, SWT.CENTER | SWT.SINGLE);
96      List list2 = new List(container, SWT.CENTER | SWT.SINGLE);      list2 = new List(container, SWT.CENTER | SWT.SINGLE);
97      performanceMap = new HashMap<String,Performance>();      performanceMap = new HashMap<String,Performance>();
98      /*      setControl(container);
99      CashewsWizard wizard = (CashewsWizard) getWizard();      setPageComplete(true);
100      }
101    
102      public Control getControl()
103      {
104            CashewsWizard wizard = (CashewsWizard) getWizard();
105      MultiPerform mp = (MultiPerform) wizard.getProcess().getControlStructure();      MultiPerform mp = (MultiPerform) wizard.getProcess().getControlStructure();
106      for (MultiPerformElement e : mp.getContent())      if (mp != null)
107        {        {
108          Performance p = (Performance) e;          for (MultiPerformElement e : mp.getContent())
109          String name = p.getName().toString();            {
110          AtomicProcess ap = (AtomicProcess) p.getProcess();              Performance p = (Performance) e;
111          SoapOperation op = (SoapOperation) ap.getGrounding();              String name = p.getName().toString();
112          String endpoint = op.getEndpoint().toString();              AtomicProcess ap = (AtomicProcess) p.getProcess();
113          String listString = name + ":" + endpoint;              SoapOperation op = (SoapOperation) ap.getGrounding();
114          list1.add(listString);              String endpoint = op.getEndpoint().toString();
115          list2.add(listString);              String listString = name + ":" + endpoint;
116          performanceMap.put(listString, p);              list1.add(listString);
117                list2.add(listString);
118                performanceMap.put(listString, p);
119              }
120        }        }
121      */      return super.getControl();
     setControl(container);  
     setPageComplete(false);  
122    }    }
123    
   
124  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26