* Translation of process message

* Use tooltip to display long message
This commit is contained in:
Heng Sin Low 2008-07-30 06:31:43 +00:00
parent 2da4482e07
commit 472f020502
2 changed files with 4 additions and 0 deletions

View File

@ -1402,6 +1402,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
Env.setContext(ctx, curWindowNo, "Processed", "Y");
curTabpanel.dynamicDisplay(0);
// Update Status Line
String summary = pi.getSummary();
if (summary != null && summary.indexOf('@') != -1)
pi.setSummary(Msg.parseTranslation(Env.getCtx(), summary));
statusBar.setStatusLine(pi.getSummary(), pi.isError());
// Get Log Info
ProcessInfoUtil.setLogFromDB(pi);

View File

@ -127,6 +127,7 @@ public class StatusBarPanel extends Panel implements EventListener
public void setStatusLine (String text, boolean error)
{
statusLine.setValue(text);
statusLine.setTooltiptext(text);
}
/**