net.sourceforge.pmd.util.designer

Class CreateXMLRulePanel

public class CreateXMLRulePanel extends JPanel implements ActionListener

This class is responsible for creating the contentpanel for the Create Rule XML Frame.
Constructor Summary
CreateXMLRulePanel(JTextArea xpathQueryArea, CodeEditorTextPane codeEditorPane)
Method Summary
voidactionPerformed(ActionEvent exception)
We let our class implement the ActionListener interface and use it to generate the xml code when the user presses the "Create rule XML" button.

Constructor Detail

CreateXMLRulePanel

public CreateXMLRulePanel(JTextArea xpathQueryArea, CodeEditorTextPane codeEditorPane)

Method Detail

actionPerformed

public void actionPerformed(ActionEvent exception)
We let our class implement the ActionListener interface and use it to generate the xml code when the user presses the "Create rule XML" button.