[ 1894181 ] Custom Info class must be of the same package
This commit is contained in:
parent
1cfcf92f6a
commit
bc69dfed7e
|
@ -221,7 +221,7 @@ public abstract class Info extends CDialog
|
||||||
} // showAssignment
|
} // showAssignment
|
||||||
|
|
||||||
/** Window Width */
|
/** Window Width */
|
||||||
static final int INFO_WIDTH = 800;
|
protected static final int INFO_WIDTH = 800;
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
@ -451,7 +451,7 @@ public abstract class Info extends CDialog
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* Execute Query
|
* Execute Query
|
||||||
*/
|
*/
|
||||||
void executeQuery()
|
protected void executeQuery()
|
||||||
{
|
{
|
||||||
// ignore when running
|
// ignore when running
|
||||||
if (m_worker != null && m_worker.isAlive())
|
if (m_worker != null && m_worker.isAlive())
|
||||||
|
@ -690,7 +690,7 @@ public abstract class Info extends CDialog
|
||||||
* @param AD_Window_ID window id
|
* @param AD_Window_ID window id
|
||||||
* @param zoomQuery zoom query
|
* @param zoomQuery zoom query
|
||||||
*/
|
*/
|
||||||
void zoom (int AD_Window_ID, MQuery zoomQuery)
|
protected void zoom (int AD_Window_ID, MQuery zoomQuery)
|
||||||
{
|
{
|
||||||
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
|
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
|
||||||
final AWindow frame = new AWindow();
|
final AWindow frame = new AWindow();
|
||||||
|
@ -759,7 +759,7 @@ public abstract class Info extends CDialog
|
||||||
* Get Table name Synonym
|
* Get Table name Synonym
|
||||||
* @return table name
|
* @return table name
|
||||||
*/
|
*/
|
||||||
String getTableName()
|
protected String getTableName()
|
||||||
{
|
{
|
||||||
return p_tableName;
|
return p_tableName;
|
||||||
} // getTableName
|
} // getTableName
|
||||||
|
@ -768,7 +768,7 @@ public abstract class Info extends CDialog
|
||||||
* Get Key Column Name
|
* Get Key Column Name
|
||||||
* @return column name
|
* @return column name
|
||||||
*/
|
*/
|
||||||
String getKeyColumn()
|
protected String getKeyColumn()
|
||||||
{
|
{
|
||||||
return p_keyColumn;
|
return p_keyColumn;
|
||||||
} // getKeyColumn
|
} // getKeyColumn
|
||||||
|
@ -788,7 +788,7 @@ public abstract class Info extends CDialog
|
||||||
/**
|
/**
|
||||||
* Enable OK, History, Zoom if row selected
|
* Enable OK, History, Zoom if row selected
|
||||||
*/
|
*/
|
||||||
void enableButtons ()
|
protected void enableButtons ()
|
||||||
{
|
{
|
||||||
boolean enable = p_table.getSelectedRow() != -1;
|
boolean enable = p_table.getSelectedRow() != -1;
|
||||||
confirmPanel.getOKButton().setEnabled(enable);
|
confirmPanel.getOKButton().setEnabled(enable);
|
||||||
|
@ -805,7 +805,7 @@ public abstract class Info extends CDialog
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
* @return WHERE clause
|
* @return WHERE clause
|
||||||
*/
|
*/
|
||||||
abstract String getSQLWhere();
|
protected abstract String getSQLWhere();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set Parameters for Query
|
* Set Parameters for Query
|
||||||
|
@ -814,58 +814,58 @@ public abstract class Info extends CDialog
|
||||||
* @param forCount for counting records
|
* @param forCount for counting records
|
||||||
* @throws SQLException
|
* @throws SQLException
|
||||||
*/
|
*/
|
||||||
abstract void setParameters (PreparedStatement pstmt, boolean forCount)
|
protected abstract void setParameters (PreparedStatement pstmt, boolean forCount)
|
||||||
throws SQLException;
|
throws SQLException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reset Parameters
|
* Reset Parameters
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
*/
|
*/
|
||||||
void doReset() {}
|
protected void doReset() {}
|
||||||
/**
|
/**
|
||||||
* Has Reset (false)
|
* Has Reset (false)
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
* @return true if it has reset (default false)
|
* @return true if it has reset (default false)
|
||||||
*/
|
*/
|
||||||
boolean hasReset() {return false;}
|
protected boolean hasReset() {return false;}
|
||||||
/**
|
/**
|
||||||
* History dialog
|
* History dialog
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
*/
|
*/
|
||||||
void showHistory() {}
|
protected void showHistory() {}
|
||||||
/**
|
/**
|
||||||
* Has History (false)
|
* Has History (false)
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
* @return true if it has history (default false)
|
* @return true if it has history (default false)
|
||||||
*/
|
*/
|
||||||
boolean hasHistory() {return false;}
|
protected boolean hasHistory() {return false;}
|
||||||
/**
|
/**
|
||||||
* Customize dialog
|
* Customize dialog
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
*/
|
*/
|
||||||
void customize() {}
|
protected void customize() {}
|
||||||
/**
|
/**
|
||||||
* Has Customize (false)
|
* Has Customize (false)
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
* @return true if it has customize (default false)
|
* @return true if it has customize (default false)
|
||||||
*/
|
*/
|
||||||
boolean hasCustomize() {return false;}
|
protected boolean hasCustomize() {return false;}
|
||||||
/**
|
/**
|
||||||
* Zoom action
|
* Zoom action
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
*/
|
*/
|
||||||
void zoom() {}
|
protected void zoom() {}
|
||||||
/**
|
/**
|
||||||
* Has Zoom (false)
|
* Has Zoom (false)
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
* @return true if it has zoom (default false)
|
* @return true if it has zoom (default false)
|
||||||
*/
|
*/
|
||||||
boolean hasZoom() {return false;}
|
protected boolean hasZoom() {return false;}
|
||||||
/**
|
/**
|
||||||
* Save Selection Details
|
* Save Selection Details
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
*/
|
*/
|
||||||
void saveSelectionDetail() {}
|
protected void saveSelectionDetail() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get Zoom Window
|
* Get Zoom Window
|
||||||
|
|
|
@ -166,7 +166,7 @@ public class InfoAsset extends Info
|
||||||
* Includes first AND
|
* Includes first AND
|
||||||
* @return WHERE clause
|
* @return WHERE clause
|
||||||
*/
|
*/
|
||||||
String getSQLWhere()
|
protected String getSQLWhere()
|
||||||
{
|
{
|
||||||
StringBuffer sql = new StringBuffer();
|
StringBuffer sql = new StringBuffer();
|
||||||
// => Value
|
// => Value
|
||||||
|
@ -197,7 +197,7 @@ public class InfoAsset extends Info
|
||||||
* @param forCount for counting records
|
* @param forCount for counting records
|
||||||
* @throws SQLException
|
* @throws SQLException
|
||||||
*/
|
*/
|
||||||
void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
protected void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
||||||
{
|
{
|
||||||
int index = 1;
|
int index = 1;
|
||||||
// => Value
|
// => Value
|
||||||
|
@ -241,7 +241,7 @@ public class InfoAsset extends Info
|
||||||
/**
|
/**
|
||||||
* Show History
|
* Show History
|
||||||
*/
|
*/
|
||||||
void showHistory()
|
protected void showHistory()
|
||||||
{
|
{
|
||||||
log.info( "InfoAsset.showHistory");
|
log.info( "InfoAsset.showHistory");
|
||||||
} // showHistory
|
} // showHistory
|
||||||
|
@ -250,7 +250,7 @@ public class InfoAsset extends Info
|
||||||
* Has History
|
* Has History
|
||||||
* @return true
|
* @return true
|
||||||
*/
|
*/
|
||||||
boolean hasHistory()
|
protected boolean hasHistory()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
} // hasHistory
|
} // hasHistory
|
||||||
|
@ -258,7 +258,7 @@ public class InfoAsset extends Info
|
||||||
/**
|
/**
|
||||||
* Zoom
|
* Zoom
|
||||||
*/
|
*/
|
||||||
void zoom()
|
protected void zoom()
|
||||||
{
|
{
|
||||||
log.info( "InfoAsset.zoom");
|
log.info( "InfoAsset.zoom");
|
||||||
Integer A_Asset_ID = getSelectedRowKey();
|
Integer A_Asset_ID = getSelectedRowKey();
|
||||||
|
@ -275,7 +275,7 @@ public class InfoAsset extends Info
|
||||||
* Has Zoom
|
* Has Zoom
|
||||||
* @return true
|
* @return true
|
||||||
*/
|
*/
|
||||||
boolean hasZoom()
|
protected boolean hasZoom()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
} // hasZoom
|
} // hasZoom
|
||||||
|
@ -283,7 +283,7 @@ public class InfoAsset extends Info
|
||||||
/**
|
/**
|
||||||
* Customize
|
* Customize
|
||||||
*/
|
*/
|
||||||
void customize()
|
protected void customize()
|
||||||
{
|
{
|
||||||
log.info( "InfoAsset.customize");
|
log.info( "InfoAsset.customize");
|
||||||
} // customize
|
} // customize
|
||||||
|
@ -292,7 +292,7 @@ public class InfoAsset extends Info
|
||||||
* Has Customize
|
* Has Customize
|
||||||
* @return false
|
* @return false
|
||||||
*/
|
*/
|
||||||
boolean hasCustomize()
|
protected boolean hasCustomize()
|
||||||
{
|
{
|
||||||
return false; // for now
|
return false; // for now
|
||||||
} // hasCustomize
|
} // hasCustomize
|
||||||
|
|
|
@ -199,7 +199,7 @@ AND rt.C_UOM_ID=uom.C_UOM_ID
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
* @return WHERE clause
|
* @return WHERE clause
|
||||||
*/
|
*/
|
||||||
String getSQLWhere()
|
protected String getSQLWhere()
|
||||||
{
|
{
|
||||||
StringBuffer sql = new StringBuffer();
|
StringBuffer sql = new StringBuffer();
|
||||||
//
|
//
|
||||||
|
@ -228,7 +228,7 @@ AND rt.C_UOM_ID=uom.C_UOM_ID
|
||||||
* @param forCount for counting records
|
* @param forCount for counting records
|
||||||
* @throws SQLException
|
* @throws SQLException
|
||||||
*/
|
*/
|
||||||
void setParameters (PreparedStatement pstmt, boolean forCount) throws SQLException
|
protected void setParameters (PreparedStatement pstmt, boolean forCount) throws SQLException
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -236,7 +236,7 @@ AND rt.C_UOM_ID=uom.C_UOM_ID
|
||||||
* History dialog
|
* History dialog
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
*/
|
*/
|
||||||
void showHistory()
|
protected void showHistory()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -245,7 +245,7 @@ AND rt.C_UOM_ID=uom.C_UOM_ID
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
* @return true if it has history (default false)
|
* @return true if it has history (default false)
|
||||||
*/
|
*/
|
||||||
boolean hasHistory()
|
protected boolean hasHistory()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -254,7 +254,7 @@ AND rt.C_UOM_ID=uom.C_UOM_ID
|
||||||
* Customize dialog
|
* Customize dialog
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
*/
|
*/
|
||||||
void customize()
|
protected void customize()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -263,7 +263,7 @@ AND rt.C_UOM_ID=uom.C_UOM_ID
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
* @return true if it has customize (default false)
|
* @return true if it has customize (default false)
|
||||||
*/
|
*/
|
||||||
boolean hasCustomize()
|
protected boolean hasCustomize()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -272,7 +272,7 @@ AND rt.C_UOM_ID=uom.C_UOM_ID
|
||||||
* Zoom action
|
* Zoom action
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
*/
|
*/
|
||||||
void zoom()
|
protected void zoom()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -281,7 +281,7 @@ AND rt.C_UOM_ID=uom.C_UOM_ID
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
* @return true if it has zoom (default false)
|
* @return true if it has zoom (default false)
|
||||||
*/
|
*/
|
||||||
boolean hasZoom()
|
protected boolean hasZoom()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -290,7 +290,7 @@ AND rt.C_UOM_ID=uom.C_UOM_ID
|
||||||
* Save Selection Details
|
* Save Selection Details
|
||||||
* To be overwritten by concrete classes
|
* To be overwritten by concrete classes
|
||||||
*/
|
*/
|
||||||
void saveSelectionDetail()
|
protected void saveSelectionDetail()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -243,7 +243,7 @@ public class InfoBPartner extends Info
|
||||||
* Includes first AND
|
* Includes first AND
|
||||||
* @return WHERE clause
|
* @return WHERE clause
|
||||||
*/
|
*/
|
||||||
String getSQLWhere()
|
protected String getSQLWhere()
|
||||||
{
|
{
|
||||||
ArrayList<String> list = new ArrayList<String>();
|
ArrayList<String> list = new ArrayList<String>();
|
||||||
// => Value
|
// => Value
|
||||||
|
@ -311,7 +311,7 @@ public class InfoBPartner extends Info
|
||||||
* @param forCount for counting records
|
* @param forCount for counting records
|
||||||
* @throws SQLException
|
* @throws SQLException
|
||||||
*/
|
*/
|
||||||
void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
protected void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
||||||
{
|
{
|
||||||
int index = 1;
|
int index = 1;
|
||||||
// => Value
|
// => Value
|
||||||
|
@ -408,7 +408,7 @@ public class InfoBPartner extends Info
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* Show History
|
* Show History
|
||||||
*/
|
*/
|
||||||
void showHistory()
|
protected void showHistory()
|
||||||
{
|
{
|
||||||
log.info("");
|
log.info("");
|
||||||
Integer C_BPartner_ID = getSelectedRowKey();
|
Integer C_BPartner_ID = getSelectedRowKey();
|
||||||
|
@ -424,7 +424,7 @@ public class InfoBPartner extends Info
|
||||||
* Has History
|
* Has History
|
||||||
* @return true
|
* @return true
|
||||||
*/
|
*/
|
||||||
boolean hasHistory()
|
protected boolean hasHistory()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
} // hasHistory
|
} // hasHistory
|
||||||
|
@ -432,7 +432,7 @@ public class InfoBPartner extends Info
|
||||||
/**
|
/**
|
||||||
* Zoom
|
* Zoom
|
||||||
*/
|
*/
|
||||||
void zoom()
|
protected void zoom()
|
||||||
{
|
{
|
||||||
log.info( "InfoBPartner.zoom");
|
log.info( "InfoBPartner.zoom");
|
||||||
Integer C_BPartner_ID = getSelectedRowKey();
|
Integer C_BPartner_ID = getSelectedRowKey();
|
||||||
|
@ -451,7 +451,7 @@ public class InfoBPartner extends Info
|
||||||
* Has Zoom
|
* Has Zoom
|
||||||
* @return true
|
* @return true
|
||||||
*/
|
*/
|
||||||
boolean hasZoom()
|
protected boolean hasZoom()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
} // hasZoom
|
} // hasZoom
|
||||||
|
@ -459,7 +459,7 @@ public class InfoBPartner extends Info
|
||||||
/**
|
/**
|
||||||
* Customize
|
* Customize
|
||||||
*/
|
*/
|
||||||
void customize()
|
protected void customize()
|
||||||
{
|
{
|
||||||
log.info( "InfoBPartner.customize");
|
log.info( "InfoBPartner.customize");
|
||||||
} // customize
|
} // customize
|
||||||
|
@ -468,7 +468,7 @@ public class InfoBPartner extends Info
|
||||||
* Has Customize
|
* Has Customize
|
||||||
* @return false
|
* @return false
|
||||||
*/
|
*/
|
||||||
boolean hasCustomize()
|
protected boolean hasCustomize()
|
||||||
{
|
{
|
||||||
return false; // for now
|
return false; // for now
|
||||||
} // hasCustomize
|
} // hasCustomize
|
||||||
|
|
|
@ -237,7 +237,7 @@ public class InfoCashLine extends Info
|
||||||
* Includes first AND
|
* Includes first AND
|
||||||
* @return sql where clause
|
* @return sql where clause
|
||||||
*/
|
*/
|
||||||
String getSQLWhere()
|
protected String getSQLWhere()
|
||||||
{
|
{
|
||||||
StringBuffer sql = new StringBuffer();
|
StringBuffer sql = new StringBuffer();
|
||||||
if (fName.getText().length() > 0)
|
if (fName.getText().length() > 0)
|
||||||
|
@ -294,7 +294,7 @@ public class InfoCashLine extends Info
|
||||||
* @param forCount for counting records
|
* @param forCount for counting records
|
||||||
* @throws SQLException
|
* @throws SQLException
|
||||||
*/
|
*/
|
||||||
void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
protected void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
||||||
{
|
{
|
||||||
int index = 1;
|
int index = 1;
|
||||||
if (fName.getText().length() > 0)
|
if (fName.getText().length() > 0)
|
||||||
|
|
|
@ -359,7 +359,7 @@ public class InfoGeneral extends Info
|
||||||
* Includes first AND
|
* Includes first AND
|
||||||
* @return where clause
|
* @return where clause
|
||||||
*/
|
*/
|
||||||
String getSQLWhere()
|
protected String getSQLWhere()
|
||||||
{
|
{
|
||||||
StringBuffer sql = new StringBuffer();
|
StringBuffer sql = new StringBuffer();
|
||||||
addSQLWhere (sql, 0, textField1.getText().toUpperCase());
|
addSQLWhere (sql, 0, textField1.getText().toUpperCase());
|
||||||
|
@ -395,7 +395,7 @@ public class InfoGeneral extends Info
|
||||||
* @param forCount for counting records
|
* @param forCount for counting records
|
||||||
* @throws SQLException
|
* @throws SQLException
|
||||||
*/
|
*/
|
||||||
void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
protected void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
||||||
{
|
{
|
||||||
int index = 1;
|
int index = 1;
|
||||||
} // setParameters
|
} // setParameters
|
||||||
|
|
|
@ -203,7 +203,7 @@ public class InfoInOut extends Info
|
||||||
* Includes first AND
|
* Includes first AND
|
||||||
* @return where clause
|
* @return where clause
|
||||||
*/
|
*/
|
||||||
String getSQLWhere()
|
protected String getSQLWhere()
|
||||||
{
|
{
|
||||||
StringBuffer sql = new StringBuffer();
|
StringBuffer sql = new StringBuffer();
|
||||||
if (fDocumentNo.getText().length() > 0)
|
if (fDocumentNo.getText().length() > 0)
|
||||||
|
@ -240,7 +240,7 @@ public class InfoInOut extends Info
|
||||||
* @param forCount for counting records
|
* @param forCount for counting records
|
||||||
* @throws SQLException
|
* @throws SQLException
|
||||||
*/
|
*/
|
||||||
void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
protected void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
||||||
{
|
{
|
||||||
int index = 1;
|
int index = 1;
|
||||||
if (fDocumentNo.getText().length() > 0)
|
if (fDocumentNo.getText().length() > 0)
|
||||||
|
@ -292,7 +292,7 @@ public class InfoInOut extends Info
|
||||||
/**
|
/**
|
||||||
* Zoom
|
* Zoom
|
||||||
*/
|
*/
|
||||||
void zoom()
|
protected void zoom()
|
||||||
{
|
{
|
||||||
log.info( "InfoInOut.zoom");
|
log.info( "InfoInOut.zoom");
|
||||||
Integer M_InOut_ID = getSelectedRowKey();
|
Integer M_InOut_ID = getSelectedRowKey();
|
||||||
|
@ -309,7 +309,7 @@ public class InfoInOut extends Info
|
||||||
* Has Zoom
|
* Has Zoom
|
||||||
* @return true
|
* @return true
|
||||||
*/
|
*/
|
||||||
boolean hasZoom()
|
protected boolean hasZoom()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
} // hasZoom
|
} // hasZoom
|
||||||
|
|
|
@ -236,7 +236,7 @@ public class InfoInvoice extends Info
|
||||||
* Includes first AND
|
* Includes first AND
|
||||||
* @return sql
|
* @return sql
|
||||||
*/
|
*/
|
||||||
String getSQLWhere()
|
protected String getSQLWhere()
|
||||||
{
|
{
|
||||||
StringBuffer sql = new StringBuffer();
|
StringBuffer sql = new StringBuffer();
|
||||||
if (fDocumentNo.getText().length() > 0)
|
if (fDocumentNo.getText().length() > 0)
|
||||||
|
@ -289,7 +289,7 @@ public class InfoInvoice extends Info
|
||||||
* @param forCount for counting records
|
* @param forCount for counting records
|
||||||
* @throws SQLException
|
* @throws SQLException
|
||||||
*/
|
*/
|
||||||
void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
protected void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
||||||
{
|
{
|
||||||
int index = 1;
|
int index = 1;
|
||||||
if (fDocumentNo.getText().length() > 0)
|
if (fDocumentNo.getText().length() > 0)
|
||||||
|
@ -365,7 +365,7 @@ public class InfoInvoice extends Info
|
||||||
/**
|
/**
|
||||||
* Zoom
|
* Zoom
|
||||||
*/
|
*/
|
||||||
void zoom()
|
protected void zoom()
|
||||||
{
|
{
|
||||||
log.info( "InfoInvoice.zoom");
|
log.info( "InfoInvoice.zoom");
|
||||||
Integer C_Invoice_ID = getSelectedRowKey();
|
Integer C_Invoice_ID = getSelectedRowKey();
|
||||||
|
@ -382,7 +382,7 @@ public class InfoInvoice extends Info
|
||||||
* Has Zoom
|
* Has Zoom
|
||||||
* @return true
|
* @return true
|
||||||
*/
|
*/
|
||||||
boolean hasZoom()
|
protected boolean hasZoom()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
} // hasZoom
|
} // hasZoom
|
||||||
|
@ -390,7 +390,7 @@ public class InfoInvoice extends Info
|
||||||
/**
|
/**
|
||||||
* Save Selection Settings
|
* Save Selection Settings
|
||||||
*/
|
*/
|
||||||
void saveSelectionDetail()
|
protected void saveSelectionDetail()
|
||||||
{
|
{
|
||||||
// publish for Callout to read
|
// publish for Callout to read
|
||||||
Integer ID = getSelectedRowKey();
|
Integer ID = getSelectedRowKey();
|
||||||
|
|
|
@ -219,7 +219,7 @@ public class InfoOrder extends Info
|
||||||
* Includes first AND
|
* Includes first AND
|
||||||
* @return sql
|
* @return sql
|
||||||
*/
|
*/
|
||||||
String getSQLWhere()
|
protected String getSQLWhere()
|
||||||
{
|
{
|
||||||
StringBuffer sql = new StringBuffer();
|
StringBuffer sql = new StringBuffer();
|
||||||
if (fDocumentNo.getText().length() > 0)
|
if (fDocumentNo.getText().length() > 0)
|
||||||
|
@ -268,7 +268,7 @@ public class InfoOrder extends Info
|
||||||
* @param forCount for counting records
|
* @param forCount for counting records
|
||||||
* @throws SQLException
|
* @throws SQLException
|
||||||
*/
|
*/
|
||||||
void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
protected void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
||||||
{
|
{
|
||||||
int index = 1;
|
int index = 1;
|
||||||
if (fDocumentNo.getText().length() > 0)
|
if (fDocumentNo.getText().length() > 0)
|
||||||
|
@ -337,7 +337,7 @@ public class InfoOrder extends Info
|
||||||
/**
|
/**
|
||||||
* Zoom
|
* Zoom
|
||||||
*/
|
*/
|
||||||
void zoom()
|
protected void zoom()
|
||||||
{
|
{
|
||||||
log.info("");
|
log.info("");
|
||||||
Integer C_Order_ID = getSelectedRowKey();
|
Integer C_Order_ID = getSelectedRowKey();
|
||||||
|
@ -354,7 +354,7 @@ public class InfoOrder extends Info
|
||||||
* Has Zoom
|
* Has Zoom
|
||||||
* @return true
|
* @return true
|
||||||
*/
|
*/
|
||||||
boolean hasZoom()
|
protected boolean hasZoom()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
} // hasZoom
|
} // hasZoom
|
||||||
|
|
|
@ -219,7 +219,7 @@ public class InfoPayment extends Info
|
||||||
* Includes first AND
|
* Includes first AND
|
||||||
* @return sql where clause
|
* @return sql where clause
|
||||||
*/
|
*/
|
||||||
String getSQLWhere()
|
protected String getSQLWhere()
|
||||||
{
|
{
|
||||||
StringBuffer sql = new StringBuffer();
|
StringBuffer sql = new StringBuffer();
|
||||||
if (fDocumentNo.getText().length() > 0)
|
if (fDocumentNo.getText().length() > 0)
|
||||||
|
@ -264,7 +264,7 @@ public class InfoPayment extends Info
|
||||||
* @param forCount for counting records
|
* @param forCount for counting records
|
||||||
* @throws SQLException
|
* @throws SQLException
|
||||||
*/
|
*/
|
||||||
void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
protected void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
||||||
{
|
{
|
||||||
int index = 1;
|
int index = 1;
|
||||||
if (fDocumentNo.getText().length() > 0)
|
if (fDocumentNo.getText().length() > 0)
|
||||||
|
@ -328,7 +328,7 @@ public class InfoPayment extends Info
|
||||||
/**
|
/**
|
||||||
* Zoom
|
* Zoom
|
||||||
*/
|
*/
|
||||||
void zoom()
|
protected void zoom()
|
||||||
{
|
{
|
||||||
log.info( "InfoPayment.zoom");
|
log.info( "InfoPayment.zoom");
|
||||||
Integer C_Payment_ID = getSelectedRowKey();
|
Integer C_Payment_ID = getSelectedRowKey();
|
||||||
|
@ -345,7 +345,7 @@ public class InfoPayment extends Info
|
||||||
* Has Zoom
|
* Has Zoom
|
||||||
* @return true
|
* @return true
|
||||||
*/
|
*/
|
||||||
boolean hasZoom()
|
protected boolean hasZoom()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
} // hasZoom
|
} // hasZoom
|
||||||
|
|
|
@ -24,11 +24,7 @@ import java.util.*;
|
||||||
import java.util.logging.*;
|
import java.util.logging.*;
|
||||||
|
|
||||||
import javax.swing.JScrollPane;
|
import javax.swing.JScrollPane;
|
||||||
import javax.swing.JTabbedPane;
|
|
||||||
import javax.swing.JTextArea;
|
|
||||||
import javax.swing.plaf.ColorUIResource;
|
import javax.swing.plaf.ColorUIResource;
|
||||||
import javax.swing.table.AbstractTableModel;
|
|
||||||
import javax.swing.table.DefaultTableModel;
|
|
||||||
//
|
//
|
||||||
import org.adempiere.plaf.AdempierePLAF;
|
import org.adempiere.plaf.AdempierePLAF;
|
||||||
import org.adempiere.plaf.AdempiereTaskPaneUI;
|
import org.adempiere.plaf.AdempiereTaskPaneUI;
|
||||||
|
@ -38,10 +34,7 @@ import org.compiere.minigrid.*;
|
||||||
import org.compiere.model.*;
|
import org.compiere.model.*;
|
||||||
import org.compiere.swing.*;
|
import org.compiere.swing.*;
|
||||||
import org.compiere.util.*;
|
import org.compiere.util.*;
|
||||||
import org.jdesktop.swingx.JXTable;
|
|
||||||
import org.jdesktop.swingx.JXTaskPane;
|
import org.jdesktop.swingx.JXTaskPane;
|
||||||
import org.jdesktop.swingx.JXTaskPaneContainer;
|
|
||||||
import org.jdesktop.swingx.action.AbstractActionExt;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -612,7 +605,7 @@ public final class InfoProduct extends Info implements ActionListener
|
||||||
* Includes first AND
|
* Includes first AND
|
||||||
* @return SQL WHERE clause
|
* @return SQL WHERE clause
|
||||||
*/
|
*/
|
||||||
String getSQLWhere()
|
protected String getSQLWhere()
|
||||||
{
|
{
|
||||||
StringBuffer where = new StringBuffer();
|
StringBuffer where = new StringBuffer();
|
||||||
|
|
||||||
|
@ -666,7 +659,7 @@ public final class InfoProduct extends Info implements ActionListener
|
||||||
* @param forCount for counting records
|
* @param forCount for counting records
|
||||||
* @throws SQLException
|
* @throws SQLException
|
||||||
*/
|
*/
|
||||||
void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
protected void setParameters(PreparedStatement pstmt, boolean forCount) throws SQLException
|
||||||
{
|
{
|
||||||
int index = 1;
|
int index = 1;
|
||||||
|
|
||||||
|
@ -796,7 +789,7 @@ public final class InfoProduct extends Info implements ActionListener
|
||||||
/**
|
/**
|
||||||
* Enable PAttribute if row selected/changed
|
* Enable PAttribute if row selected/changed
|
||||||
*/
|
*/
|
||||||
void enableButtons ()
|
protected void enableButtons ()
|
||||||
{
|
{
|
||||||
m_M_AttributeSetInstance_ID = -1;
|
m_M_AttributeSetInstance_ID = -1;
|
||||||
if (m_PAttributeButton != null)
|
if (m_PAttributeButton != null)
|
||||||
|
@ -833,7 +826,7 @@ public final class InfoProduct extends Info implements ActionListener
|
||||||
/**
|
/**
|
||||||
* Show History
|
* Show History
|
||||||
*/
|
*/
|
||||||
void showHistory()
|
protected void showHistory()
|
||||||
{
|
{
|
||||||
log.info("");
|
log.info("");
|
||||||
Integer M_Product_ID = getSelectedRowKey();
|
Integer M_Product_ID = getSelectedRowKey();
|
||||||
|
@ -856,7 +849,7 @@ public final class InfoProduct extends Info implements ActionListener
|
||||||
*
|
*
|
||||||
* @return true (has history)
|
* @return true (has history)
|
||||||
*/
|
*/
|
||||||
boolean hasHistory()
|
protected boolean hasHistory()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
} // hasHistory
|
} // hasHistory
|
||||||
|
@ -864,7 +857,7 @@ public final class InfoProduct extends Info implements ActionListener
|
||||||
/**
|
/**
|
||||||
* Zoom
|
* Zoom
|
||||||
*/
|
*/
|
||||||
void zoom()
|
protected void zoom()
|
||||||
{
|
{
|
||||||
log.info("");
|
log.info("");
|
||||||
Integer M_Product_ID = getSelectedRowKey();
|
Integer M_Product_ID = getSelectedRowKey();
|
||||||
|
@ -883,7 +876,7 @@ public final class InfoProduct extends Info implements ActionListener
|
||||||
* Has Zoom
|
* Has Zoom
|
||||||
* @return (has zoom)
|
* @return (has zoom)
|
||||||
*/
|
*/
|
||||||
boolean hasZoom()
|
protected boolean hasZoom()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
} // hasZoom
|
} // hasZoom
|
||||||
|
@ -891,7 +884,7 @@ public final class InfoProduct extends Info implements ActionListener
|
||||||
/**
|
/**
|
||||||
* Customize
|
* Customize
|
||||||
*/
|
*/
|
||||||
void customize()
|
protected void customize()
|
||||||
{
|
{
|
||||||
log.info("");
|
log.info("");
|
||||||
} // customize
|
} // customize
|
||||||
|
@ -900,7 +893,7 @@ public final class InfoProduct extends Info implements ActionListener
|
||||||
* Has Customize
|
* Has Customize
|
||||||
* @return false (no customize)
|
* @return false (no customize)
|
||||||
*/
|
*/
|
||||||
boolean hasCustomize()
|
protected boolean hasCustomize()
|
||||||
{
|
{
|
||||||
return false; // for now
|
return false; // for now
|
||||||
} // hasCustomize
|
} // hasCustomize
|
||||||
|
@ -908,7 +901,7 @@ public final class InfoProduct extends Info implements ActionListener
|
||||||
/**
|
/**
|
||||||
* Save Selection Settings for PriceList
|
* Save Selection Settings for PriceList
|
||||||
*/
|
*/
|
||||||
void saveSelectionDetail()
|
protected void saveSelectionDetail()
|
||||||
{
|
{
|
||||||
// publish for Callout to read
|
// publish for Callout to read
|
||||||
Integer ID = getSelectedRowKey();
|
Integer ID = getSelectedRowKey();
|
||||||
|
|
Loading…
Reference in New Issue