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.panels.*; 15 16 import javax.swing.*; 17 import java.awt.event.ActionEvent ; 18 19 22 public class Processes extends ActionBase { 23 24 public Processes (PackageEditor editor) { 25 super(editor); 26 } 27 28 public void actionPerformed(ActionEvent e) { 29 PackageEditor pe=(PackageEditor)editor; 30 if (!pe.isInitialized()) { 31 pe.enterPackageID(); 32 } 33 XMLPanel p=pe.getXMLPackage().getPanel(9); 34 35 XMLElementDialog d=new XMLElementDialog((JFrame)pe.getWindow(), 36 ResourceManager.getLanguageDependentString("PackageKey")+" '"+ 37 pe.getXMLPackage().get("Id").toString()+"' - "+ 38 ResourceManager.getLanguageDependentString("ProcessesLabel")); 39 d.editXMLElement(p,false,false); 40 } 41 } 42 | Popular Tags |