/** * This adds a property descriptor for the Sub Index feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ protected void addSubIndexPropertyDescriptor ( final Object object ) { this.itemPropertyDescriptors.add ( createItemPropertyDescriptor ( ( (ComposeableAdapterFactory)this.adapterFactory ).getRootAdapterFactory (), getResourceLocator (), getString ( "_UI_BitType_subIndex_feature" ), getString ( "_UI_PropertyDescriptor_description", "_UI_BitType_subIndex_feature", "_UI_BitType_type" ), MemoryPackage.Literals.BIT_TYPE__SUB_INDEX, true, false, false, ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null ) ); }
/** * This adds a property descriptor for the Sub Index feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ protected void addSubIndexPropertyDescriptor ( final Object object ) { this.itemPropertyDescriptors.add ( createItemPropertyDescriptor ( ( (ComposeableAdapterFactory)this.adapterFactory ).getRootAdapterFactory (), getResourceLocator (), getString ( "_UI_BitType_subIndex_feature" ), getString ( "_UI_PropertyDescriptor_description", "_UI_BitType_subIndex_feature", "_UI_BitType_type" ), MemoryPackage.Literals.BIT_TYPE__SUB_INDEX, true, false, false, ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null ) ); }
/** * This returns the label text for the adapted class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated NOT */ @Override public String getText ( final Object object ) { final BitType bitType = (BitType)object; return getString ( "_UI_BitType_type" ) + " " + bitType.getIndex () + "." + bitType.getSubIndex (); //$NON-NLS-1$ //$NON-NLS-2$ }
/** * This returns the label text for the adapted class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated NOT */ @Override public String getText ( final Object object ) { final BitType bitType = (BitType)object; return getString ( "_UI_BitType_type" ) + " " + bitType.getIndex () + "." + bitType.getSubIndex (); //$NON-NLS-1$ //$NON-NLS-2$ }