df.addEntry(new DataFilterEntry(DataFilterEntry._AND, DcModules._TAB, Tab._A_NAME, Operator.EQUAL_TO, name));
Collection<String> tabs = getKeyList(df);
if (tabs.size() == 0) {
try {
Tab tab = (Tab) DcModules.get(DcModules._TAB).getItem();
tab.setIDs();
tab.setValue(Tab._A_NAME, name);
tab.setValue(Tab._D_MODULE, Long.valueOf(module));
int order = name.equals(DcResources.getText("lblInformation")) ? 1 :
name.equals(DcResources.getText("lblSummary")) ? 0 :
2;
tab.setValue(Tab._C_ORDER, Long.valueOf(order));
if (name.equalsIgnoreCase(DcResources.getText("lblInformation")) || name.equals(DcResources.getText("lblSummary")))
tab.setValue(Tab._B_ICON, new DcImageIcon(DataCrow.installationDir + "icons" + File.separator + "information.png"));
else if (name.equalsIgnoreCase(DcResources.getText("lblTechnicalInfo")))
tab.setValue(Tab._B_ICON, new DcImageIcon(DataCrow.installationDir + "icons" + File.separator + "informationtechnical.png"));
tab.saveNew(false);
} catch (Exception e) {
logger.error(e, e);
exists = false;
}
}