/** For internal use only. */ public static void initMeta() { try { metaClass.setSuperMetaClass(DbSMSSemanticalObject.metaClass); metaClass.setIcon("dborapartition.gif"); fTablespace.setJField(DbORAAbsPartition.class.getDeclaredField("m_tablespace")); fTablespace.setFlags(MetaField.INTEGRABLE_BY_NAME); fTablespace.setRendererPluginName("DbORATablespace"); fTablespace.setOppositeRel(DbORATablespace.fAbsPartitions); } catch (Exception e) { throw new RuntimeException("Meta init"); } }
/** For internal use only. */ public static void initMeta() { try { metaClass.setSuperMetaClass(DbSMSStyle.metaClass); fOr_nameDescriptor.setJField( DbORCommonItemStyle.class.getDeclaredField("m_or_nameDescriptor")); fLineColorDbORCommonItem.setJField( DbORCommonItemStyle.class.getDeclaredField("m_lineColorDbORCommonItem")); fDescriptorFontDbORCommonItem.setJField( DbORCommonItemStyle.class.getDeclaredField("m_descriptorFontDbORCommonItem")); fDashStyleDbORCommonItem.setJField( DbORCommonItemStyle.class.getDeclaredField("m_dashStyleDbORCommonItem")); fTextColorDbORCommonItem.setJField( DbORCommonItemStyle.class.getDeclaredField("m_textColorDbORCommonItem")); fHighlightDbORCommonItem.setJField( DbORCommonItemStyle.class.getDeclaredField("m_highlightDbORCommonItem")); fBackgroundColorDbORCommonItem.setJField( DbORCommonItemStyle.class.getDeclaredField("m_backgroundColorDbORCommonItem")); fOr_commonItemLengthDecimalsDisplay.setJField( DbORCommonItemStyle.class.getDeclaredField("m_or_commonItemLengthDecimalsDisplay")); fOr_commonItemLengthDecimalsFont.setJField( DbORCommonItemStyle.class.getDeclaredField("m_or_commonItemLengthDecimalsFont")); fReferringProjectCommonItem.setJField( DbORCommonItemStyle.class.getDeclaredField("m_referringProjectCommonItem")); fOr_commonItemNullValueFont.setJField( DbORCommonItemStyle.class.getDeclaredField("m_or_commonItemNullValueFont")); fOr_commonItemTypeFont.setJField( DbORCommonItemStyle.class.getDeclaredField("m_or_commonItemTypeFont")); fOr_commonItemTypeDisplay.setJField( DbORCommonItemStyle.class.getDeclaredField("m_or_commonItemTypeDisplay")); fOr_commonItemNullValueDisplay.setJField( DbORCommonItemStyle.class.getDeclaredField("m_or_commonItemNullValueDisplay")); fReferringProjectCommonItem.setOppositeRel(DbSMSProject.fOrDefaultCommonItemStyle); } catch (Exception e) { throw new RuntimeException("Meta init"); } }