if(enable(anode))
{
final EditCookie ec = (EditCookie)anode[0].getCookie(EditCookie.class);
final BasePanel p = ec.getEditPanel();
DialogDescriptor exdialogdescriptor = new DialogDescriptor(p, ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/actions/idl/Bundle").getString("TXT_Customize"));
exdialogdescriptor.setButtonListener( new ActionListener() {
public void actionPerformed(ActionEvent actionevent)
{
if(actionevent.getActionCommand().equals("OK"))
ec.reInit(p);
dialog.setVisible(false);
dialog.dispose();
}
});