1 9 10 package org.enhydra.jawe.actions; 11 12 import org.enhydra.jawe.*; 13 import org.enhydra.jawe.xml.*; 14 import org.enhydra.jawe.xml.elements.*; 15 import org.enhydra.jawe.xml.panels.*; 16 17 import java.awt.event.ActionEvent ; 18 import javax.swing.*; 19 20 23 public class FormalParameters extends ActionBase { 24 25 public FormalParameters (ProcessEditor pe) { 26 super(pe); 27 } 28 29 public void actionPerformed(ActionEvent e) { 30 org.enhydra.jawe.xml.elements.WorkflowProcess wp= 31 (org.enhydra.jawe.xml.elements.WorkflowProcess) 32 editor.getGraph().getPropertyObject(); 33 XMLPanel p=wp.getPanel(7); 34 XMLElementDialog d=new XMLElementDialog((JDialog)editor.getWindow(), 35 ResourceManager.getLanguageDependentString("ProcessKey")+" '"+ 36 wp.toString()+"' - "+ 37 ResourceManager.getLanguageDependentString("FormalParametersKey")); 38 d.editXMLElement(p,false,false); 39 } 40 } 41 | Popular Tags |