merge revision 6475 changes from branches/adempiere341
This commit is contained in:
parent
a695a6f06b
commit
4d78721aa0
|
@ -151,19 +151,19 @@ public abstract class WCreateFrom extends Window
|
||||||
private static CLogger s_log = CLogger.getCLogger (WCreateFrom.class);
|
private static CLogger s_log = CLogger.getCLogger (WCreateFrom.class);
|
||||||
|
|
||||||
//
|
//
|
||||||
private Borderlayout contentPane = new Borderlayout();
|
protected Borderlayout contentPane = new Borderlayout();
|
||||||
private Panel parameterPanel = new Panel();
|
protected Panel parameterPanel = new Panel();
|
||||||
protected Panel parameterBankPanel = new Panel();
|
protected Panel parameterBankPanel = new Panel();
|
||||||
private Borderlayout parameterLayout = new Borderlayout();
|
protected Borderlayout parameterLayout = new Borderlayout();
|
||||||
private Label bankAccountLabel = new Label();
|
protected Label bankAccountLabel = new Label();
|
||||||
protected Panel parameterStdPanel = new Panel();
|
protected Panel parameterStdPanel = new Panel();
|
||||||
private Label bPartnerLabel = new Label();
|
protected Label bPartnerLabel = new Label();
|
||||||
protected Listbox bankAccountField;
|
protected Listbox bankAccountField;
|
||||||
//RF [1811114]
|
//RF [1811114]
|
||||||
private Label authorizationLabel = new Label();
|
protected Label authorizationLabel = new Label();
|
||||||
protected WStringEditor authorizationField = new WStringEditor();
|
protected WStringEditor authorizationField = new WStringEditor();
|
||||||
private Grid parameterStdLayout = GridFactory.newGridLayout();
|
protected Grid parameterStdLayout = GridFactory.newGridLayout();
|
||||||
private Grid parameterBankLayout = GridFactory.newGridLayout();
|
protected Grid parameterBankLayout = GridFactory.newGridLayout();
|
||||||
// Bug [1759431]
|
// Bug [1759431]
|
||||||
protected Checkbox sameWarehouseCb = new Checkbox();
|
protected Checkbox sameWarehouseCb = new Checkbox();
|
||||||
protected WEditor bPartnerField;
|
protected WEditor bPartnerField;
|
||||||
|
@ -174,10 +174,10 @@ public abstract class WCreateFrom extends Window
|
||||||
protected Label shipmentLabel = new Label();
|
protected Label shipmentLabel = new Label();
|
||||||
protected Listbox shipmentField = ListboxFactory.newDropdownListbox();
|
protected Listbox shipmentField = ListboxFactory.newDropdownListbox();
|
||||||
// private JScrollPane dataPane = new JScrollPane();
|
// private JScrollPane dataPane = new JScrollPane();
|
||||||
private Panel southPanel = new Panel();
|
protected Panel southPanel = new Panel();
|
||||||
// private Borderlayout southLayout = new Borderlayout();
|
// private Borderlayout southLayout = new Borderlayout();
|
||||||
private ConfirmPanel confirmPanel = new ConfirmPanel(true);
|
protected ConfirmPanel confirmPanel = new ConfirmPanel(true);
|
||||||
private StatusBarPanel statusBar = new StatusBarPanel();
|
protected StatusBarPanel statusBar = new StatusBarPanel();
|
||||||
protected WListbox dataTable = ListboxFactory.newDataTable();
|
protected WListbox dataTable = ListboxFactory.newDataTable();
|
||||||
protected Label locatorLabel = new Label();
|
protected Label locatorLabel = new Label();
|
||||||
protected WLocatorEditor locatorField = new WLocatorEditor();
|
protected WLocatorEditor locatorField = new WLocatorEditor();
|
||||||
|
@ -202,7 +202,7 @@ public abstract class WCreateFrom extends Window
|
||||||
* </pre>
|
* </pre>
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
private void zkInit() throws Exception
|
protected void zkInit() throws Exception
|
||||||
{
|
{
|
||||||
parameterPanel.appendChild(parameterLayout);
|
parameterPanel.appendChild(parameterLayout);
|
||||||
parameterStdPanel.appendChild(parameterStdLayout);
|
parameterStdPanel.appendChild(parameterStdLayout);
|
||||||
|
|
|
@ -62,7 +62,7 @@ public class CWindowToolbar extends FToolbar implements EventListener
|
||||||
|
|
||||||
private ToolBarButton btnGridToggle;
|
private ToolBarButton btnGridToggle;
|
||||||
|
|
||||||
private ToolBarButton btnHistoryRecords, btnMenu, btnParentRecord, btnDetailRecord;
|
private ToolBarButton btnHistoryRecords, btnParentRecord, btnDetailRecord;
|
||||||
|
|
||||||
private ToolBarButton btnFirst, btnPrevious, btnNext, btnLast;
|
private ToolBarButton btnFirst, btnPrevious, btnNext, btnLast;
|
||||||
|
|
||||||
|
@ -102,7 +102,6 @@ public class CWindowToolbar extends FToolbar implements EventListener
|
||||||
btnGridToggle = createButton("Toggle", "Multi24.png", "Multi");
|
btnGridToggle = createButton("Toggle", "Multi24.png", "Multi");
|
||||||
addSeparator();
|
addSeparator();
|
||||||
btnHistoryRecords = createButton("HistoryRecords", "HistoryX24.png", "History");
|
btnHistoryRecords = createButton("HistoryRecords", "HistoryX24.png", "History");
|
||||||
btnMenu = createButton("Home", "Home24.png", "Home");
|
|
||||||
btnParentRecord = createButton("ParentRecord", "Parent24.png", "Parent");
|
btnParentRecord = createButton("ParentRecord", "Parent24.png", "Parent");
|
||||||
btnDetailRecord = createButton("DetailRecord", "Detail24.png", "Detail");
|
btnDetailRecord = createButton("DetailRecord", "Detail24.png", "Detail");
|
||||||
addSeparator();
|
addSeparator();
|
||||||
|
|
|
@ -169,6 +169,8 @@ public final class ConfirmPanel extends Hbox
|
||||||
|
|
||||||
setVisible(A_CANCEL, withCancelButton);
|
setVisible(A_CANCEL, withCancelButton);
|
||||||
addComponentsRight(createButton(A_OK));
|
addComponentsRight(createButton(A_OK));
|
||||||
|
|
||||||
|
if (withCancelButton)
|
||||||
addComponentsRight(createButton(A_CANCEL));
|
addComponentsRight(createButton(A_CANCEL));
|
||||||
|
|
||||||
if (withRefreshButton)
|
if (withRefreshButton)
|
||||||
|
@ -208,7 +210,7 @@ public final class ConfirmPanel extends Hbox
|
||||||
*/
|
*/
|
||||||
public ConfirmPanel(boolean withCancel)
|
public ConfirmPanel(boolean withCancel)
|
||||||
{
|
{
|
||||||
this(true,false,false,false,false,false);
|
this(withCancel,false,false,false,false,false);
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
private Hbox hboxBtnLeft;
|
private Hbox hboxBtnLeft;
|
||||||
|
|
|
@ -25,27 +25,123 @@ package org.adempiere.webui.event;
|
||||||
*/
|
*/
|
||||||
public interface ToolbarListener
|
public interface ToolbarListener
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Ignore user changes
|
||||||
|
*/
|
||||||
public void onIgnore();
|
public void onIgnore();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create new record
|
||||||
|
*/
|
||||||
public void onNew();
|
public void onNew();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Edit current record
|
||||||
|
*/
|
||||||
public void onEdit();
|
public void onEdit();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Navigate to first record
|
||||||
|
*/
|
||||||
public void onFirst();
|
public void onFirst();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Navigate to last record
|
||||||
|
*/
|
||||||
public void onLast();
|
public void onLast();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Navigate to next record
|
||||||
|
*/
|
||||||
public void onNext();
|
public void onNext();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Navigate to previous record
|
||||||
|
*/
|
||||||
public void onPrevious();
|
public void onPrevious();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Navigate to parent record, i.e previous tab
|
||||||
|
*/
|
||||||
public void onParentRecord();
|
public void onParentRecord();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Navigate to detail record, i.e next tab
|
||||||
|
*/
|
||||||
public void onDetailRecord();
|
public void onDetailRecord();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Refresh current record
|
||||||
|
*/
|
||||||
public void onRefresh();
|
public void onRefresh();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Print document
|
||||||
|
*/
|
||||||
public void onPrint();
|
public void onPrint();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* View available report for current tab
|
||||||
|
*/
|
||||||
public void onReport();
|
public void onReport();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Toggle record presentation between free form and tabular
|
||||||
|
*/
|
||||||
|
public void onToggle();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Open the help window
|
||||||
|
*/
|
||||||
|
public void onHelp();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Delete current record
|
||||||
|
*/
|
||||||
|
public void onDelete();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Save current record
|
||||||
|
*/
|
||||||
|
public void onSave();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Open the find/search dialog
|
||||||
|
*/
|
||||||
|
public void onFind();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Open the attachment dialog
|
||||||
|
*/
|
||||||
|
public void onAttachment();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Open the history dialog
|
||||||
|
*/
|
||||||
|
public void onHistoryRecords();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Open the archive dialog
|
||||||
|
*/
|
||||||
|
public void onArchive();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Zoom to window where current record is use
|
||||||
|
*/
|
||||||
|
public void onZoomAcross();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show active workflow for current record
|
||||||
|
*/
|
||||||
|
public void onActiveWorkflows();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Open the request menu where user can view available request or create a new request
|
||||||
|
*/
|
||||||
|
public void onRequests();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* View product info
|
||||||
|
*/
|
||||||
|
public void onProductInfo();
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,10 +112,6 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
|
|
||||||
private boolean boolChanges = false;
|
private boolean boolChanges = false;
|
||||||
|
|
||||||
private boolean viewed = false;
|
|
||||||
|
|
||||||
private boolean changesOccured = false;
|
|
||||||
|
|
||||||
private int m_onlyCurrentDays = 0;
|
private int m_onlyCurrentDays = 0;
|
||||||
|
|
||||||
private Component parent;
|
private Component parent;
|
||||||
|
@ -333,6 +329,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
return title;
|
return title;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onDetailRecord()
|
||||||
|
*/
|
||||||
public void onDetailRecord()
|
public void onDetailRecord()
|
||||||
{
|
{
|
||||||
int maxInd = adTab.getTabCount() - 1;
|
int maxInd = adTab.getTabCount() - 1;
|
||||||
|
@ -343,6 +342,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onParentRecord()
|
||||||
|
*/
|
||||||
public void onParentRecord()
|
public void onParentRecord()
|
||||||
{
|
{
|
||||||
int curInd = adTab.getSelectedIndex();
|
int curInd = adTab.getSelectedIndex();
|
||||||
|
@ -352,26 +354,41 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onFirst()
|
||||||
|
*/
|
||||||
public void onFirst()
|
public void onFirst()
|
||||||
{
|
{
|
||||||
curTab.navigate(0);
|
curTab.navigate(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onLast()
|
||||||
|
*/
|
||||||
public void onLast()
|
public void onLast()
|
||||||
{
|
{
|
||||||
curTab.navigate(curTab.getRowCount() - 1);
|
curTab.navigate(curTab.getRowCount() - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onNext()
|
||||||
|
*/
|
||||||
public void onNext()
|
public void onNext()
|
||||||
{
|
{
|
||||||
curTab.navigateRelative(+1);
|
curTab.navigateRelative(+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onPrevious()
|
||||||
|
*/
|
||||||
public void onPrevious()
|
public void onPrevious()
|
||||||
{
|
{
|
||||||
curTab.navigateRelative(-1);
|
curTab.navigateRelative(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onHistoryRecords()
|
||||||
|
*/
|
||||||
public void onHistoryRecords()
|
public void onHistoryRecords()
|
||||||
{
|
{
|
||||||
logger.info("");
|
logger.info("");
|
||||||
|
@ -410,6 +427,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onAttachment()
|
||||||
|
*/
|
||||||
public void onAttachment()
|
public void onAttachment()
|
||||||
{
|
{
|
||||||
int record_ID = curTab.getRecord_ID();
|
int record_ID = curTab.getRecord_ID();
|
||||||
|
@ -429,30 +449,12 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
//aAttachment.setPressed(m_curTab.hasAttachment());
|
//aAttachment.setPressed(m_curTab.hasAttachment());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onGridToggle()
|
/**
|
||||||
|
* @see ToolbarListener#onToggle()
|
||||||
|
*/
|
||||||
|
public void onToggle()
|
||||||
{
|
{
|
||||||
curTabpanel.switchRowPresentation();
|
curTabpanel.switchRowPresentation();
|
||||||
|
|
||||||
/*
|
|
||||||
if (!viewed)
|
|
||||||
{
|
|
||||||
viewed = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (changesOccured)
|
|
||||||
{
|
|
||||||
changesOccured = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tabbox.isVisible())
|
|
||||||
{
|
|
||||||
tabbox.setVisible(false);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
tabbox.setVisible(true);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean onExit()
|
public boolean onExit()
|
||||||
|
@ -469,12 +471,6 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// private void find()
|
|
||||||
// {
|
|
||||||
// MQuery mquery = new MQuery(curTab.getAD_Table_ID());
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
|
|
||||||
public void onEvent(Event event)
|
public void onEvent(Event event)
|
||||||
{
|
{
|
||||||
if (!Events.ON_SELECT.equals(event.getName()))
|
if (!Events.ON_SELECT.equals(event.getName()))
|
||||||
|
@ -789,18 +785,27 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
return (selTabIndex == 0);
|
return (selTabIndex == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onRefresh()
|
||||||
|
*/
|
||||||
public void onRefresh()
|
public void onRefresh()
|
||||||
{
|
{
|
||||||
curTab.dataRefreshAll();
|
curTab.dataRefreshAll();
|
||||||
curTabpanel.dynamicDisplay(0);
|
curTabpanel.dynamicDisplay(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onHelp()
|
||||||
|
*/
|
||||||
public void onHelp()
|
public void onHelp()
|
||||||
{
|
{
|
||||||
WebDoc doc = gridWindow.getHelpDoc(true);
|
WebDoc doc = gridWindow.getHelpDoc(true);
|
||||||
SessionManager.getAppDesktop().showURL(doc, "Help", true);
|
SessionManager.getAppDesktop().showURL(doc, "Help", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onNew()
|
||||||
|
*/
|
||||||
public void onNew()
|
public void onNew()
|
||||||
{
|
{
|
||||||
if (!curTab.isInsertRecord())
|
if (!curTab.isInsertRecord())
|
||||||
|
@ -830,6 +835,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onFind()
|
||||||
|
*/
|
||||||
public void onFind()
|
public void onFind()
|
||||||
{
|
{
|
||||||
if (curTab == null)
|
if (curTab == null)
|
||||||
|
@ -856,6 +864,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
curTab.dataRefresh(); // Elaine 2008/07/25
|
curTab.dataRefresh(); // Elaine 2008/07/25
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onIgnore()
|
||||||
|
*/
|
||||||
public void onIgnore()
|
public void onIgnore()
|
||||||
{
|
{
|
||||||
if (curTab.isSortTab())
|
if (curTab.isSortTab())
|
||||||
|
@ -873,6 +884,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onEdit()
|
||||||
|
*/
|
||||||
public void onEdit()
|
public void onEdit()
|
||||||
{
|
{
|
||||||
curTabpanel.editRecord(true);
|
curTabpanel.editRecord(true);
|
||||||
|
@ -885,10 +899,11 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
toolbar.enableReport(true);
|
toolbar.enableReport(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onSave()
|
||||||
|
*/
|
||||||
public void onSave()
|
public void onSave()
|
||||||
{
|
{
|
||||||
changesOccured = true;
|
|
||||||
|
|
||||||
if (curTab.isSortTab())
|
if (curTab.isSortTab())
|
||||||
{
|
{
|
||||||
((ADSortTab)curTabpanel).saveData();
|
((ADSortTab)curTabpanel).saveData();
|
||||||
|
@ -908,6 +923,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onDelete()
|
||||||
|
*/
|
||||||
public void onDelete()
|
public void onDelete()
|
||||||
{
|
{
|
||||||
if (curTab.isReadOnly())
|
if (curTab.isReadOnly())
|
||||||
|
@ -925,6 +943,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
curTabpanel.dynamicDisplay(0);
|
curTabpanel.dynamicDisplay(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onPrint()
|
||||||
|
*/
|
||||||
public void onPrint() {
|
public void onPrint() {
|
||||||
//Get process defined for this tab
|
//Get process defined for this tab
|
||||||
int AD_Process_ID = curTab.getAD_Process_ID();
|
int AD_Process_ID = curTab.getAD_Process_ID();
|
||||||
|
@ -960,6 +981,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onReport()
|
||||||
|
*/
|
||||||
public void onReport() {
|
public void onReport() {
|
||||||
if (!MRole.getDefault().isCanReport(curTab.getAD_Table_ID()))
|
if (!MRole.getDefault().isCanReport(curTab.getAD_Table_ID()))
|
||||||
{
|
{
|
||||||
|
@ -1006,6 +1030,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onZoomAcross()
|
||||||
|
*/
|
||||||
public void onZoomAcross() {
|
public void onZoomAcross() {
|
||||||
if (toolbar.getEvent() != null)
|
if (toolbar.getEvent() != null)
|
||||||
{
|
{
|
||||||
|
@ -1034,6 +1061,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
}
|
}
|
||||||
|
|
||||||
// Elaine 2008/07/17
|
// Elaine 2008/07/17
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onActiveWorkflows()
|
||||||
|
*/
|
||||||
public void onActiveWorkflows() {
|
public void onActiveWorkflows() {
|
||||||
if (toolbar.getEvent() != null)
|
if (toolbar.getEvent() != null)
|
||||||
{
|
{
|
||||||
|
@ -1046,6 +1076,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
//
|
//
|
||||||
|
|
||||||
// Elaine 2008/07/22
|
// Elaine 2008/07/22
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onRequests()
|
||||||
|
*/
|
||||||
public void onRequests()
|
public void onRequests()
|
||||||
{
|
{
|
||||||
if (toolbar.getEvent() != null)
|
if (toolbar.getEvent() != null)
|
||||||
|
@ -1064,6 +1097,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
//
|
//
|
||||||
|
|
||||||
// Elaine 2008/07/22
|
// Elaine 2008/07/22
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onProductInfo()
|
||||||
|
*/
|
||||||
public void onProductInfo()
|
public void onProductInfo()
|
||||||
{
|
{
|
||||||
InfoPanel.showProduct(0);
|
InfoPanel.showProduct(0);
|
||||||
|
@ -1071,6 +1107,9 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
//
|
//
|
||||||
|
|
||||||
// Elaine 2008/07/28
|
// Elaine 2008/07/28
|
||||||
|
/**
|
||||||
|
* @see ToolbarListener#onArchive()
|
||||||
|
*/
|
||||||
public void onArchive()
|
public void onArchive()
|
||||||
{
|
{
|
||||||
if (toolbar.getEvent() != null)
|
if (toolbar.getEvent() != null)
|
||||||
|
@ -1081,6 +1120,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
new WArchive(toolbar.getEvent().getTarget(), curTab.getAD_Table_ID(), curTab.getRecord_ID());
|
new WArchive(toolbar.getEvent().getTarget(), curTab.getAD_Table_ID(), curTab.getRecord_ID());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
@ -1092,7 +1132,6 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
logger.info(wButton.toString());
|
logger.info(wButton.toString());
|
||||||
|
|
||||||
boolean startWOasking = false;
|
boolean startWOasking = false;
|
||||||
boolean batch = false;
|
|
||||||
String col = wButton.getColumnName();
|
String col = wButton.getColumnName();
|
||||||
|
|
||||||
// Zoom
|
// Zoom
|
||||||
|
|
Loading…
Reference in New Issue