IDEMPIERE-2389:Print format and Report type selection on process dialog

recreate serialVersionUID
fix show dialog when auto run process
This commit is contained in:
hieplq 2015-03-28 19:41:24 +07:00
parent b827cbf292
commit 88a373064b
6 changed files with 12 additions and 16 deletions

View File

@ -40,10 +40,11 @@ import org.compiere.util.Util;
*/ */
public class ProcessInfo implements Serializable public class ProcessInfo implements Serializable
{ {
/** /**
* *
*/ */
private static final long serialVersionUID = -1084726411940456050L; private static final long serialVersionUID = -7810177110347837681L;
/** /**
* Constructor * Constructor

View File

@ -98,11 +98,11 @@ import org.zkoss.zul.Vlayout;
public abstract class AbstractProcessDialog extends Window implements IProcessUI, EventListener<Event> public abstract class AbstractProcessDialog extends Window implements IProcessUI, EventListener<Event>
{ {
/** /**
* *
*/ */
private static final long serialVersionUID = 761285757875594250L; private static final long serialVersionUID = -4807787318205732697L;
private static final String ON_COMPLETE = "onComplete"; private static final String ON_COMPLETE = "onComplete";
private static final String ON_STATUS_UPDATE = "onStatusUpdate"; private static final String ON_STATUS_UPDATE = "onStatusUpdate";

View File

@ -85,10 +85,11 @@ import com.lowagie.text.pdf.PdfWriter;
*/ */
public class ProcessDialog extends AbstractProcessDialog implements EventListener<Event>, IHelpContext public class ProcessDialog extends AbstractProcessDialog implements EventListener<Event>, IHelpContext
{ {
/** /**
* *
*/ */
private static final long serialVersionUID = 1320565116095846687L; private static final long serialVersionUID = 5958768001208626552L;
public static final String ON_INITIAL_FOCUS_EVENT = "onInitialFocus"; public static final String ON_INITIAL_FOCUS_EVENT = "onInitialFocus";

View File

@ -45,8 +45,7 @@ public class ProcessModalDialog extends AbstractProcessDialog implements EventLi
/** /**
* *
*/ */
private static final long serialVersionUID = -3260639688339379279L; private static final long serialVersionUID = -6227339628038418701L;
/** Logger */ /** Logger */
private static CLogger log = CLogger.getCLogger(ProcessModalDialog.class); private static CLogger log = CLogger.getCLogger(ProcessModalDialog.class);
// //
@ -82,6 +81,7 @@ public class ProcessModalDialog extends AbstractProcessDialog implements EventLi
try try
{ {
init(Env.getCtx(), WindowNo, pi.getAD_Process_ID(), pi, autoStart, true); init(Env.getCtx(), WindowNo, pi.getAD_Process_ID(), pi, autoStart, true);
if (mainParameterLayout != null)// when auto start it's null
mainParameterLayout.setStyle("max-height:" + (SessionManager.getAppDesktop().getClientInfo().desktopHeight - 150) + "px"); mainParameterLayout.setStyle("max-height:" + (SessionManager.getAppDesktop().getClientInfo().desktopHeight - 150) + "px");
this.setSclass("popup-dialog"); this.setSclass("popup-dialog");
} }
@ -148,13 +148,6 @@ public class ProcessModalDialog extends AbstractProcessDialog implements EventLi
this.detach(); this.detach();
} // dispose } // dispose
@Override
public void autoStart()
{
this.getFirstChild().setVisible(false);
super.autoStart();
}
@Override @Override
public void showBusyDialog() { public void showBusyDialog() {
BusyDialog progressWindow = createBusyDialog(); BusyDialog progressWindow = createBusyDialog();

View File

@ -77,7 +77,7 @@ public class ProcessParameterPanel extends Panel implements
/** /**
* *
*/ */
private static final long serialVersionUID = -5730428618898681676L; private static final long serialVersionUID = -6190176000439901932L;
/** /**
* Dynamic generated Parameter panel. * Dynamic generated Parameter panel.

View File

@ -42,10 +42,11 @@ import org.zkoss.zul.Separator;
* @author Deepak Pansheriya * @author Deepak Pansheriya
*/ */
public class ProcessInfoDialog extends Window implements EventListener<Event> { public class ProcessInfoDialog extends Window implements EventListener<Event> {
/** /**
* *
*/ */
private static final long serialVersionUID = 4479446865514015847L; private static final long serialVersionUID = -1712025652050086903L;
private static final String MESSAGE_PANEL_STYLE = "text-align:left; word-break: break-all; overflow: auto; max-height: 250pt; min-width: 230pt; max-width: 450pt;"; private static final String MESSAGE_PANEL_STYLE = "text-align:left; word-break: break-all; overflow: auto; max-height: 250pt; min-width: 230pt; max-width: 450pt;";