organize imports

This commit is contained in:
Redhuan D. Oon 2008-12-22 00:52:41 +00:00
parent 7bceda9067
commit a59edd12e2
15 changed files with 210 additions and 131 deletions

View File

@ -17,49 +17,16 @@
package org.eevolution.form; package org.eevolution.form;
import org.compiere.apps.form.FormFrame;
import org.compiere.grid.ed.VLookup;
import org.eevolution.form.action.PopupAction;
import org.eevolution.form.action.ZoomMenuAction;
import org.eevolution.form.bom.BOMTreeFactory;
import org.eevolution.form.bom.BOMTreeModel;
import org.eevolution.form.bom.action.ChangeASIAction;
import org.eevolution.form.bom.action.CreateRfQAction;
import org.eevolution.form.bom.action.DeleteBOMAction;
import org.eevolution.form.bom.action.MergeBOMAction;
import org.compiere.model.MLookup;
import org.compiere.model.MLookupFactory;
import org.compiere.model.MProduct;
import org.compiere.model.PO;
import org.compiere.model.MColumn;
import org.eevolution.model.reasoner.StorageReasoner;
import org.eevolution.model.wrapper.BOMLineWrapper;
import org.eevolution.model.wrapper.BOMWrapper;
import org.compiere.swing.CLabel;
import org.compiere.swing.CPanel;
import org.compiere.util.DisplayType;
import org.compiere.util.Env;
import org.compiere.util.Msg;
import org.eevolution.tools.worker.SingleWorker;
import org.eevolution.tools.swing.SwingTool;
import org.eevolution.model.MPPOrder;
import java.awt.BorderLayout; import java.awt.BorderLayout;
import java.awt.Dimension; import java.awt.Dimension;
import java.awt.FlowLayout; import java.awt.FlowLayout;
import java.awt.event.KeyEvent; import java.awt.event.KeyEvent;
import java.awt.event.KeyListener; import java.awt.event.KeyListener;
import java.awt.event.MouseEvent; import java.awt.event.MouseEvent;
import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener; import java.beans.PropertyChangeListener;
import javax.swing.JEditorPane;
import javax.swing.JPopupMenu; import javax.swing.JPopupMenu;
import javax.swing.JScrollPane; import javax.swing.JScrollPane;
import javax.swing.JSplitPane; import javax.swing.JSplitPane;
@ -69,7 +36,33 @@ import javax.swing.event.TreeSelectionEvent;
import javax.swing.event.TreeSelectionListener; import javax.swing.event.TreeSelectionListener;
import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.TreePath; import javax.swing.tree.TreePath;
import javax.swing.JEditorPane;
import org.compiere.apps.form.FormFrame;
import org.compiere.grid.ed.VLookup;
import org.compiere.model.MColumn;
import org.compiere.model.MLookup;
import org.compiere.model.MLookupFactory;
import org.compiere.model.MProduct;
import org.compiere.model.PO;
import org.compiere.swing.CLabel;
import org.compiere.swing.CPanel;
import org.compiere.util.DisplayType;
import org.compiere.util.Env;
import org.compiere.util.Msg;
import org.eevolution.form.action.PopupAction;
import org.eevolution.form.action.ZoomMenuAction;
import org.eevolution.form.bom.BOMTreeFactory;
import org.eevolution.form.bom.BOMTreeModel;
import org.eevolution.form.bom.action.ChangeASIAction;
import org.eevolution.form.bom.action.CreateRfQAction;
import org.eevolution.form.bom.action.DeleteBOMAction;
import org.eevolution.form.bom.action.MergeBOMAction;
import org.eevolution.model.MPPOrder;
import org.eevolution.model.reasoner.StorageReasoner;
import org.eevolution.model.wrapper.BOMLineWrapper;
import org.eevolution.model.wrapper.BOMWrapper;
import org.eevolution.tools.swing.SwingTool;
import org.eevolution.tools.worker.SingleWorker;
/** /**
* @author Gunther Hoppe, tranSIT GmbH Ilmenau/Germany * @author Gunther Hoppe, tranSIT GmbH Ilmenau/Germany

View File

@ -15,31 +15,64 @@
*****************************************************************************/ *****************************************************************************/
package org.eevolution.form; package org.eevolution.form;
import java.awt.*; import java.awt.BorderLayout;
import java.awt.event.*; import java.awt.Cursor;
import java.beans.*; import java.awt.FlowLayout;
import java.math.*; import java.awt.event.ActionEvent;
import java.sql.*; import java.awt.event.ActionListener;
import java.util.*; import java.beans.PropertyChangeEvent;
import java.util.logging.*; import java.beans.VetoableChangeListener;
import java.math.BigDecimal;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.logging.Level;
import javax.swing.*; import javax.swing.JOptionPane;
import javax.swing.event.*; import javax.swing.JScrollPane;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;
import org.compiere.apps.*; import org.compiere.apps.ADialog;
import org.compiere.grid.ed.*; import org.compiere.apps.ADialogDialog;
import org.compiere.minigrid.*; import org.compiere.apps.ConfirmPanel;
import org.compiere.model.*; import org.compiere.apps.ProcessCtl;
import org.compiere.plaf.*; import org.compiere.apps.StatusBar;
import org.compiere.print.*;
import org.compiere.process.*;
import org.compiere.swing.*;
import org.compiere.util.*;
import org.compiere.plaf.CompiereColor;
import org.compiere.apps.form.FormFrame; import org.compiere.apps.form.FormFrame;
import org.compiere.apps.form.FormPanel; import org.compiere.apps.form.FormPanel;
import org.compiere.grid.ed.VDate; import org.compiere.grid.ed.VComboBox;
import org.compiere.grid.ed.VLookup;
import org.compiere.minigrid.IDColumn;
import org.compiere.minigrid.MiniTable;
import org.compiere.model.MLookup;
import org.compiere.model.MLookupFactory;
import org.compiere.model.MOrder;
import org.compiere.model.MPInstance;
import org.compiere.model.MPInstancePara;
import org.compiere.model.MPrivateAccess;
import org.compiere.model.MRMA;
import org.compiere.plaf.CompiereColor;
import org.compiere.print.ReportCtl;
import org.compiere.print.ReportEngine;
import org.compiere.process.ProcessInfo;
import org.compiere.process.ProcessInfoUtil;
import org.compiere.swing.CLabel;
import org.compiere.swing.CPanel;
import org.compiere.swing.CTabbedPane;
import org.compiere.swing.CTextPane;
import org.compiere.util.ASyncProcess;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.DisplayType;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
import org.compiere.util.Msg;
import org.compiere.util.Trx;
/** /**
* Manual Shipment Selection * Manual Shipment Selection

View File

@ -15,28 +15,63 @@
*****************************************************************************/ *****************************************************************************/
package org.eevolution.form; package org.eevolution.form;
import java.awt.*; import java.awt.BorderLayout;
import java.awt.event.*; import java.awt.Cursor;
import java.beans.*; import java.awt.FlowLayout;
import java.math.*; import java.awt.event.ActionEvent;
import java.sql.*; import java.awt.event.ActionListener;
import java.util.*; import java.beans.PropertyChangeEvent;
import java.util.logging.*; import java.beans.VetoableChangeListener;
import javax.swing.*; import java.math.BigDecimal;
import javax.swing.event.*; import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Properties;
import java.util.logging.Level;
import javax.swing.JOptionPane;
import javax.swing.JScrollPane;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;
import org.adempiere.exceptions.AdempiereException; import org.adempiere.exceptions.AdempiereException;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;
import org.compiere.apps.*; import org.compiere.apps.ADialog;
import org.compiere.apps.form.*; import org.compiere.apps.ADialogDialog;
import org.compiere.grid.ed.*; import org.compiere.apps.ConfirmPanel;
import org.compiere.minigrid.*; import org.compiere.apps.StatusBar;
import org.compiere.model.*; import org.compiere.apps.form.FormFrame;
import org.compiere.plaf.*; import org.compiere.apps.form.FormPanel;
import org.compiere.print.*; import org.compiere.grid.ed.VDate;
import org.compiere.grid.ed.VLookup;
import org.compiere.swing.*; import org.compiere.minigrid.IDColumn;
import org.compiere.util.*; import org.compiere.minigrid.MiniTable;
import org.compiere.model.MColumn;
import org.compiere.model.MLookup;
import org.compiere.model.MLookupFactory;
import org.compiere.model.MMovement;
import org.compiere.model.MMovementLine;
import org.compiere.model.MQuery;
import org.compiere.model.PrintInfo;
import org.compiere.plaf.CompiereColor;
import org.compiere.print.MPrintFormat;
import org.compiere.print.ReportEngine;
import org.compiere.print.Viewer;
import org.compiere.swing.CLabel;
import org.compiere.swing.CPanel;
import org.compiere.swing.CTabbedPane;
import org.compiere.swing.CTextPane;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.DisplayType;
import org.compiere.util.Env;
import org.compiere.util.Language;
import org.compiere.util.Msg;
import org.compiere.util.Trx;
import org.eevolution.model.MDDOrder; import org.eevolution.model.MDDOrder;
import org.eevolution.model.MDDOrderLine; import org.eevolution.model.MDDOrderLine;

View File

@ -76,7 +76,6 @@ import org.compiere.model.MProduct;
import org.compiere.model.MStorage; import org.compiere.model.MStorage;
import org.compiere.model.MTab; import org.compiere.model.MTab;
import org.compiere.model.MWindow; import org.compiere.model.MWindow;
import org.compiere.model.X_C_DocType;
import org.compiere.plaf.CompiereColor; import org.compiere.plaf.CompiereColor;
import org.compiere.swing.CButton; import org.compiere.swing.CButton;
import org.compiere.swing.CLabel; import org.compiere.swing.CLabel;

View File

@ -16,24 +16,65 @@
*****************************************************************************/ *****************************************************************************/
package org.eevolution.form; package org.eevolution.form;
import org.eevolution.form.bom.*; import it.cnr.imaa.essi.lablib.gui.checkboxtree.CheckboxTree;
import java.awt.*;
import java.awt.event.*; import java.awt.BorderLayout;
import java.math.*; import java.awt.Dimension;
import java.util.*; import java.awt.event.ActionEvent;
import java.util.logging.*; import java.awt.event.ActionListener;
import javax.swing.*; import java.math.BigDecimal;
import javax.swing.border.*; import java.sql.PreparedStatement;
import org.compiere.apps.*; import java.sql.ResultSet;
import org.compiere.apps.form.*; import java.sql.SQLException;
import org.compiere.grid.ed.*; import java.util.ArrayList;
import org.compiere.model.*; import java.util.Collection;
import org.compiere.swing.*; import java.util.Collections;
import org.compiere.util.*; import java.util.Enumeration;
import org.eevolution.model.*; import java.util.HashMap;
import java.sql.*; import java.util.Iterator;
import javax.swing.tree.DefaultMutableTreeNode; import java.util.Map;
import it.cnr.imaa.essi.lablib.gui.checkboxtree.*; import java.util.Set;
import java.util.logging.Level;
import javax.swing.ButtonGroup;
import javax.swing.JCheckBox;
import javax.swing.JOptionPane;
import javax.swing.JRadioButton;
import javax.swing.JScrollPane;
import javax.swing.JToggleButton;
import javax.swing.border.TitledBorder;
import javax.swing.tree.DefaultMutableTreeNode;
import org.compiere.apps.ALayout;
import org.compiere.apps.ALayoutConstraint;
import org.compiere.apps.ConfirmPanel;
import org.compiere.apps.form.FormFrame;
import org.compiere.apps.form.FormPanel;
import org.compiere.apps.form.VBOMDrop;
import org.compiere.grid.ed.VNumber;
import org.compiere.model.MInvoice;
import org.compiere.model.MInvoiceLine;
import org.compiere.model.MOrder;
import org.compiere.model.MOrderLine;
import org.compiere.model.MProduct;
import org.compiere.model.MProductBOM;
import org.compiere.model.MProject;
import org.compiere.model.MProjectLine;
import org.compiere.model.MRole;
import org.compiere.swing.CComboBox;
import org.compiere.swing.CLabel;
import org.compiere.swing.CPanel;
import org.compiere.swing.CScrollPane;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.DisplayType;
import org.compiere.util.Env;
import org.compiere.util.KeyNamePair;
import org.compiere.util.Msg;
import org.eevolution.form.bom.RadioButtonTreeCellRenderer;
import org.eevolution.form.bom.nodeUserObject;
import org.eevolution.model.MPPProductBOM;
import org.eevolution.model.MPPProductBOMLine;
/** /**
* Drop BOM * Drop BOM

View File

@ -26,10 +26,8 @@ import java.util.ResourceBundle;
import javax.swing.JMenuItem; import javax.swing.JMenuItem;
import org.compiere.model.PO; import org.compiere.model.PO;
import org.eevolution.tools.PLoader;
import org.eevolution.tools.worker.SingleWorker;
import org.eevolution.tools.swing.SwingTool; import org.eevolution.tools.swing.SwingTool;
import org.eevolution.tools.worker.SingleWorker;
/** /**
* @author Gunther Hoppe, tranSIT GmbH Ilmenau/Germany * @author Gunther Hoppe, tranSIT GmbH Ilmenau/Germany

View File

@ -24,10 +24,8 @@ import javax.swing.JFrame;
import org.compiere.apps.ADialog; import org.compiere.apps.ADialog;
import org.compiere.apps.ProcessParameter; import org.compiere.apps.ProcessParameter;
import org.eevolution.form.action.PopupAction;
import org.compiere.util.Env; import org.compiere.util.Env;
import org.compiere.util.Msg; import org.compiere.util.Msg;
import org.eevolution.process.ProcessInfoHandler; import org.eevolution.process.ProcessInfoHandler;
import org.eevolution.tools.swing.SwingTool; import org.eevolution.tools.swing.SwingTool;

View File

@ -24,10 +24,8 @@ import javax.swing.tree.DefaultMutableTreeNode;
import org.compiere.apps.AEnv; import org.compiere.apps.AEnv;
import org.compiere.apps.AWindow; import org.compiere.apps.AWindow;
import org.compiere.model.MQuery; import org.compiere.model.MQuery;
import org.compiere.model.MTable;
import org.compiere.model.PO; import org.compiere.model.PO;
import org.eevolution.model.wrapper.AbstractPOWrapper; import org.eevolution.model.wrapper.AbstractPOWrapper;
import org.compiere.util.Env;
/** /**

View File

@ -21,15 +21,12 @@ import java.util.HashMap;
import javax.swing.JTree; import javax.swing.JTree;
import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeCellRenderer;
import javax.swing.tree.TreePath; import javax.swing.tree.TreePath;
import org.compiere.model.MProduct; import org.compiere.model.MProduct;
import org.eevolution.model.MPPOrder;
import org.eevolution.model.wrapper.BOMLineWrapper; import org.eevolution.model.wrapper.BOMLineWrapper;
import org.eevolution.model.wrapper.BOMWrapper; import org.eevolution.model.wrapper.BOMWrapper;
import org.eevolution.model.MPPOrder;
import org.eevolution.msg.HTMLMessenger; import org.eevolution.msg.HTMLMessenger;
/** /**

View File

@ -22,7 +22,6 @@ import javax.swing.ImageIcon;
import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultMutableTreeNode;
import org.compiere.util.Env; import org.compiere.util.Env;
import org.eevolution.form.tree.MapTreeCellRenderer; import org.eevolution.form.tree.MapTreeCellRenderer;
/** /**

View File

@ -26,14 +26,11 @@ import javax.swing.tree.DefaultMutableTreeNode;
import org.compiere.model.MProduct; import org.compiere.model.MProduct;
import org.compiere.model.MResource; import org.compiere.model.MResource;
import org.compiere.model.PO; import org.compiere.model.PO;
import org.compiere.util.Env;
import org.eevolution.model.MPPOrder;
import org.eevolution.model.reasoner.StorageReasoner; import org.eevolution.model.reasoner.StorageReasoner;
import org.eevolution.model.wrapper.BOMLineWrapper; import org.eevolution.model.wrapper.BOMLineWrapper;
import org.eevolution.model.wrapper.BOMWrapper; import org.eevolution.model.wrapper.BOMWrapper;
import org.compiere.util.Env;
import org.eevolution.model.MPPOrder;
/** /**
* @author Gunther Hoppe, tranSIT GmbH Ilmenau/Germany * @author Gunther Hoppe, tranSIT GmbH Ilmenau/Germany

View File

@ -16,21 +16,17 @@
package org.eevolution.form.bom.action; package org.eevolution.form.bom.action;
import java.awt.Container;
import java.awt.event.ActionEvent;
import javax.swing.JFrame; import javax.swing.JFrame;
import javax.swing.JTree; import javax.swing.JTree;
import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultMutableTreeNode;
import org.compiere.apps.search.PAttributeInstance; import org.compiere.apps.search.PAttributeInstance;
import org.eevolution.form.action.ProcessPopupAction;
import org.eevolution.form.bom.BOMMessenger;
import org.compiere.model.MAttributeSetInstance; import org.compiere.model.MAttributeSetInstance;
import org.compiere.model.MProduct; import org.compiere.model.MProduct;
import org.eevolution.model.wrapper.BOMLineWrapper;
import org.compiere.util.Env; import org.compiere.util.Env;
import org.compiere.util.Msg; import org.compiere.util.Msg;
import org.eevolution.form.action.ProcessPopupAction;
import org.eevolution.model.wrapper.BOMLineWrapper;
/** /**

View File

@ -23,20 +23,17 @@ import javax.swing.JFrame;
import javax.swing.JTree; import javax.swing.JTree;
import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultMutableTreeNode;
import org.eevolution.form.action.ProcessPopupAction;
import org.compiere.model.MResource; import org.compiere.model.MResource;
import org.compiere.model.MRfQ; import org.compiere.model.MRfQ;
import org.compiere.model.MRfQLine; import org.compiere.model.MRfQLine;
import org.compiere.model.MRfQLineQty; import org.compiere.model.MRfQLineQty;
import org.compiere.util.Env;
import org.compiere.util.Msg;
import org.eevolution.form.action.ProcessPopupAction;
import org.eevolution.model.MPPOrder;
import org.eevolution.model.reasoner.StorageReasoner; import org.eevolution.model.reasoner.StorageReasoner;
import org.eevolution.model.wrapper.BOMLineWrapper; import org.eevolution.model.wrapper.BOMLineWrapper;
import org.eevolution.model.wrapper.BOMWrapper; import org.eevolution.model.wrapper.BOMWrapper;
import org.compiere.util.Env;
import org.compiere.util.Msg;
import org.eevolution.model.MPPOrder;
/** /**
* @author Victor Perez, e-Evolution, S.C. * @author Victor Perez, e-Evolution, S.C. * @author Victor Perez, e-Evolution, S.C. * @author Victor Perez, e-Evolution, S.C.

View File

@ -21,14 +21,12 @@ import java.awt.event.ActionEvent;
import javax.swing.JTree; import javax.swing.JTree;
import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.DefaultMutableTreeNode;
import org.eevolution.form.action.PopupAction;
import org.eevolution.model.wrapper.BOMLineWrapper;
import org.eevolution.model.wrapper.BOMWrapper;
import org.compiere.util.Env; import org.compiere.util.Env;
import org.eevolution.form.action.PopupAction;
import org.eevolution.model.MPPProductBOM; import org.eevolution.model.MPPProductBOM;
import org.eevolution.model.MPPProductBOMLine; import org.eevolution.model.MPPProductBOMLine;
import org.eevolution.model.wrapper.BOMLineWrapper;
import org.eevolution.model.wrapper.BOMWrapper;
/** /**
* @author Victor Perez, e-Evolution, S.C. * @author Victor Perez, e-Evolution, S.C.

View File

@ -1,8 +1,8 @@
package org.eevolution.form.bom; package org.eevolution.form.bom;
import org.eevolution.model.X_PP_Product_BOM; import org.compiere.model.X_M_Product;
import org.eevolution.model.X_PP_Product_BOMLine; import org.eevolution.model.X_PP_Product_BOM;
import org.compiere.model.X_M_Product; import org.eevolution.model.X_PP_Product_BOMLine;
public class nodeUserObject { public class nodeUserObject {
public X_M_Product M_Product = null; public X_M_Product M_Product = null;