}
}
if (optionName.equals("FRM_ADMIN_MHN_EDIT"))
{
final JInternalFrameMHNProperties u;
// if (isLoaded(JInternalFrameMHNProperties.class))
// setVisible(JInternalFrameMHNProperties.class);
// else
{
u = new JInternalFrameMHNProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_PAL_PROD_DEC"))
{
final JInternalFrameProductionDeclaration u;
if (isLoaded(JInternalFrameProductionDeclaration.class))
setVisible(JInternalFrameProductionDeclaration.class);
else
{
u = new JInternalFrameProductionDeclaration(StrParam);
u.setTitle(mod.getDescription());
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_MODULE_EDIT"))
{
final JInternalFrameModuleProperties u;
// if (isLoaded(JInternalFrameModuleProperties.class))
// setVisible(JInternalFrameModuleProperties.class);
// else
{
u = new JInternalFrameModuleProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_USER_EDIT"))
{
final JInternalFrameUserProperties u;
// if (isLoaded(JInternalFrameUserProperties.class))
// setVisible(JInternalFrameUserProperties.class);
// else
{
u = new JInternalFrameUserProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_PALLET_EDIT"))
{
final JInternalFramePalletProperties u;
// if (isLoaded(JInternalFramePalletProperties.class))
// setVisible(JInternalFramePalletProperties.class);
// else
{
u = new JInternalFramePalletProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_PROCESS_ORDER_LABEL"))
{
final JInternalFrameProcessOrderLabel u;
// if (isLoaded(JInternalFrameProcessOrderLabel.class))
// setVisible(JInternalFrameProcessOrderLabel.class);
// else
{
u = new JInternalFrameProcessOrderLabel(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_PAL_PROD_CONFIRM"))
{
final JInternalFrameProductionConfirmation u;
if (isLoaded(JInternalFrameProductionConfirmation.class))
setVisible(JInternalFrameProductionConfirmation.class);
else
{
u = new JInternalFrameProductionConfirmation(StrParam);
u.setTitle(mod.getDescription());
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_UOM_EDIT"))
{
final JInternalFrameUomProperties u;
// if (isLoaded(JInternalFrameUomProperties.class))
// setVisible(JInternalFrameUomProperties.class);
// else
{
u = new JInternalFrameUomProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_MATERIAL_TYPE_EDIT"))
{
final JInternalFrameMaterialTypeProperties u;
// if (isLoaded(JInternalFrameMaterialTypeProperties.class))
// setVisible(JInternalFrameMaterialTypeProperties.class);
// else
{
u = new JInternalFrameMaterialTypeProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_MHN_REASON_EDIT"))
{
final JInternalFrameMHNReasonProperties u;
// if (isLoaded(JInternalFrameMHNReasonProperties.class))
// setVisible(JInternalFrameMHNReasonProperties.class);
// else
{
u = new JInternalFrameMHNReasonProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_MHN_DECISION_EDIT"))
{
final JInternalFrameMHNDecisionProperties u;
// if (isLoaded(JInternalFrameMHNDecisionProperties.class))
// setVisible(JInternalFrameMHNDecisionProperties.class);
// else
{
u = new JInternalFrameMHNDecisionProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_MATERIAL_EDIT"))
{
final JInternalFrameMaterialProperties u;
// if (isLoaded(JInternalFrameMaterialProperties.class))
// setVisible(JInternalFrameMaterialProperties.class);
// else
{
u = new JInternalFrameMaterialProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_MATERIAL_BATCH"))
{
final JInternalFrameMaterialBatchAdmin u;
// if (isLoaded(JInternalFrameMaterialBatchAdmin.class))
// setVisible(JInternalFrameMaterialBatchAdmin.class);
// else
{
u = new JInternalFrameMaterialBatchAdmin(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_MATERIAL_LOCATION"))
{
final JInternalFrameMaterialLocationAdmin u;
// if (isLoaded(JInternalFrameMaterialLocationAdmin.class))
// setVisible(JInternalFrameMaterialLocationAdmin.class);
// else
{
u = new JInternalFrameMaterialLocationAdmin(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_LOCATION_EDIT"))
{
final JInternalFrameLocationProperties u;
// if (isLoaded(JInternalFrameLocationProperties.class))
// setVisible(JInternalFrameLocationProperties.class);
// else
{
u = new JInternalFrameLocationProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_PROCESS_ORDER_EDIT"))
{
final JInternalFrameProcessOrderProperties u;
// if (isLoaded(JInternalFrameProcessOrderProperties.class))
// setVisible(JInternalFrameProcessOrderProperties.class);
// else
{
u = new JInternalFrameProcessOrderProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_GROUP_EDIT"))
{
final JInternalFrameGroupProperties u;
// if (isLoaded(JInternalFrameGroupProperties.class))
// setVisible(JInternalFrameGroupProperties.class);
// else
{
u = new JInternalFrameGroupProperties(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_USER_PERM"))
{
final JInternalFrameUserPermissions u;
// if (isLoaded(JInternalFrameUserPermissions.class))
// setVisible(JInternalFrameUserPermissions.class);
// else
{
u = new JInternalFrameUserPermissions(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
if (optionName.equals("FRM_ADMIN_GROUP_PERM"))
{
final JInternalFrameGroupPermissions u;
// if (isLoaded(JInternalFrameGroupPermissions.class))
// setVisible(JInternalFrameGroupPermissions.class);
// else
{
u = new JInternalFrameGroupPermissions(StrParam);
u.setTitle(mod.getDescription() + " [" + StrParam + "]");
displayForm(u, optionName);
}
}
}