System.out.println(p.Name + " " + p.Type.getTypeName());
}
public void createControlDialog() {
try {
XDialogProvider2 xDialogProv = getDialogProvider();
String sPackageURL = getPackageLocation();
String sDialogURL = sPackageURL + "/dialogs/ControlDialog" + (getController().getGroupType() != Controller.ORGANIGROUP ? 1 : 2) + ".xdl";
m_xControlDialog = xDialogProv.createDialogWithHandler(sDialogURL, m_oListener);
if (m_xControlDialog != null) {
m_xControlDialogWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class, m_xControlDialog);
m_xControlDialogTopWindow = (XTopWindow) UnoRuntime.queryInterface(XTopWindow.class, m_xControlDialogWindow);
m_xControlDialogTopWindow.addTopWindowListener(m_oListener);
}