Compile Time Changes

Material changes

The following industry material classes now extend from classes in cm.abstract.material:

// industryMaterial.cm
Old: public class IndustryMaterial extends CachedMaterial;
New: public class IndustryMaterial extends AbsMaterial;

// industryMaterialCardTreeViewItem.cm
Old: public class IndustryMaterialCardTreeViewItem extends TreeViewItem : unstreamable;
New: public class IndustryMaterialCardTreeViewItem extends AbsMaterialCardTreeViewItem : unstreamable;

COM changes

The following industry COM classes / functions have been replaced by their counterparts from cm.abstract.material:

// cm.abstract.industry -> cm.abstract.material

// comProxyMaterial.cm
Old: public class IndCOMProxyMaterial extends Material;
New: public class COMProxyMaterial extends Material;

// customerOwnMaterials.cm
Old: public class IndCustomerOwnMaterials;
New: public class CustomerOwnMaterials;

Old: public IndCustomerOwnMaterials indCustomerOwnMaterials(World world=null);
New: public CustomerOwnMaterials customerOwnMaterials(World world=null);

The following industry COM classes now extend from classes in cm.abstract.material:

// customerOwnMaterials.cm
Old: public class IndCustomerOwnMaterial extends IndustryMaterial;
New: public class IndCustomerOwnMaterial extends CustomerOwnMaterial;

// comMaterialCard.cm
Old: public class IndCOMaterialCard extends IndMaterialCardWindow;
New: public class IndCOMaterialCard extends COMaterialCard;

Legend changes

The following industry legend classes / functions have been replaced by their counterparts from cm.abstract:

// cm.abstract.industry -> cm.abstract

// industryLegendItem.cm
Old: public class IndustryLegendItem;
New: public class LegendItem;

// industryLegendItem.cm
Old: public class SimpleIndustryLegendItem extends IndustryLegendItem;
New: public class SimpleLegendItem extends LegendItem;

// industryLegend.cm
Old: public class IndustryLegend;
New: public class Legend;

Old: public class IndustryLegendPropInterface : abstract; 
New: public class LegendPropInterface : abstract;

Old: public void updateIndustryLegendSnapper(IndustryLegendSnapper s, Space space, str headerKey,
                                             str[] types);
New: public void updateLegendSnapper(LegendSnapper s, Space space, str headerKey, 
                                     str[] types);

// basicIndustryLegendSnapper.cm
Old: public class BasicIndustryLegendSnapper extends GraphSnapper;
New: public class BasicLegendSnapper extends GraphSnapper 

The following legend classes now extend from classes in cm.abstract:

// industryLegend.cm
Old: public class IndustryLegendSnapper extends BasicIndustryLegendSnapper;
New: public class IndustryLegendSnapper extends LegendSnapper;

// linealFilingInchesLegend.cm
Old: public class LinealFilingInchesLegend extends BasicIndustryLegendSnapper;
New: public class LinealFilingInchesLegend extends BasicLegendSnapper;

Material legend changes

The following industry material legend classes / functions have been replaced by their counterparts from cm.abstract.material:

// cm.abstract.industry -> cm.abstract.material

// indMaterialLegend.cm
Old: public class IndMaterialLegendItem;
New: public class MaterialLegendItem;

Old: public class IndMaterialLegendItemCreator : abstract; 
New: public class MaterialLegendItemCreator : abstract;

Old: public class IndMaterialLegend extends IndustryLegend; 
New: public class MaterialLegend extends Legend;

Old: public IndMaterialLegend industryMaterialLegend(World world);
New: public MaterialLegend absMaterialLegend(World world);

Old: public void updateIndustryMaterialLegend(Material->IndMaterialLegendItemCreator mc, World world=null);
New: public void updateAbsMaterialLegend(Material->MaterialLegendItemCreator mc,
                                         World world=null);

// indMaterialLegendSnapper.cm
Old: public class LegendPart extends Part; 
New: public class LegacyLegendPart extends Part;

Old: public void updateIndustryIndMaterialLegend(World world);
New: public void updateAbsMaterialLegend(Material->MaterialLegendItemCreator mc,
                                         World world=null);

// industryPart.cm
Old: public void setTempLegendIndMaterialsToNull();
New: public void clearTempLegendMaterials();

Old: package Material->IndMaterialLegendItemCreator getTempLegendIndMaterials();
New: public Material->MaterialLegendItemCreator getTempLegendMaterials();

The following industry material legend classes now extend from classes in cm.abstract:

// indMaterialLegendSnapper.cm
Old: public class IndMaterialLegendSnapper extends BasicIndustryLegendSnapper;
New: public class IndMaterialLegendSnapper extends MaterialLegendSnapper;