![]() | ExportItem Class |
Namespace: CTExtensions.ExportCore.ExportHandler
The ExportItem type exposes the following members.
Name | Description | |
---|---|---|
![]() | ExportItem |
Constructor. Init(IGenericExportHandler, String) is called after.
|
Name | Description | |
---|---|---|
![]() | AllowInplaceEdits |
If column editing is enabled at GetAdditionalColumnsSetup2(IListViewEx, String, DictionaryString, Boolean, ListString, ListString)
then this must be true to allow editing columns of this particular item. However, editing will not be
enabled if also WritebackInplaceEdits is enabled but this item's writeback target is not in correct file access state.
In SW, the file must not be readonly. In PDM client side, either we must have write access to NOTHING or we must have write access to
the edited file.
AllowInplaceEdits is false by default.
|
![]() | Attachments |
Attachment rows of this item. The Item2 of the Tuple is top assembly configuration.
|
![]() | CancelConversions |
Set this flag to true to cancel all conversions related to this item.
|
![]() | Children |
Child items for this item.
|
![]() | CollectedConversions |
Document Conversion collected during export procedure for this item.
|
![]() | DataRows |
Datarows of this item. The Item2 of the Tuple is top assembly configuration.
|
![]() | ExportHandler |
Export Handler. This should be an inheritant of GenericExportHandlerT, E, I
but type is left loosely defined due to cascading generics.
|
![]() | ExportProfile |
Currently Active Export Profile
|
![]() | Fields |
Export Profile Fields.
|
![]() | ID |
Unique identifier for this Item. This object is considered identical to another
object of the same type, if IDs are equal.
|
![]() | ItemError | |
![]() | ParentExtension |
Parent Extension
|
![]() | Parents |
Parent items for this item. Empty for root item.
|
![]() | Preview | |
![]() | RowColorController |
Color Controller for row/cell colors.
|
![]() | UIRows |
UI Rows mapped to this item.
Not available after deserialization.
|
![]() | WritebackInplaceEdits |
If AllowInplaceEdits is enabled (and all its pre-requisities), editing a column automatically
causes writeback.
|
Name | Description | |
---|---|---|
![]() | AddGhostItemT | |
![]() | BOMFieldChanged |
Has the BOM field value changed from original. Null and empty are considered the same.
|
![]() | CacheWriteBack |
Cache writeback value for given field.
|
![]() | CacheWriteBacks |
Adds given writebacks. Overwrites existing if same target already cached.
|
![]() | CollectDocumentConversion |
Add Collected conversion.
|
![]() | CreateWriteBacks |
Resolves writeback targets for given field. Value can be given optionally.
|
![]() | Deserialize |
Deserialize this item. All items are pre-initialized with their IDs
and can be found from the collection given as an argument; i.e.
those can be used to create the child/parent relation structure.
|
![]() | Dissolve |
THIS IS NOT TESTED WELL
|
![]() | Equals | (Overrides ObjectEquals(Object).) |
![]() | ExcludedFromAllParents |
Returns true if this item has zero quantity in all of its parents;
or if is root item with zero quantity.
Or if all grandparents are ExcludedFromAllParents -recursively.
|
![]() | FieldChanged |
Has the field value changed from original. Null and empty are considered the same.
|
![]() | GeneratePreview |
Generate preview if it doesn't exist yet. Returns existing preview unless forced.
|
![]() | GetBOMValue | |
![]() | GetCachedWriteBacks | |
![]() | GetHashCode | (Overrides ObjectGetHashCode.) |
![]() | GetMaterialQtyFields |
Get all export profile fields attached to Material Quantity.
|
![]() | GetMaterialQuantityIn | |
![]() | GetQtyFields |
Get all export profile fields that are attached to Quantity
|
![]() | GetQuantityIn | |
![]() | GetRightClickMenu | |
![]() | GetValue | |
![]() | Log |
Do the Logging
|
![]() | Promote |
THIS IS NOT TESTED WELL
|
![]() | Remove |
Remove this item and this items children from the export.
|
![]() | RequiresWriteBack |
Return true if this item has cached writebacks
|
![]() | Serialize |
Serialize this item.
|
![]() | SetBOMValue | |
![]() | SetQuantityIn | |
![]() | SetValue | |
![]() | ToString | (Overrides ObjectToString.) |
![]() | ValidateFieldConsistency | |
![]() | ValidateFieldConsistencyInParents |
CUSTOMTOOLS 2024 SP0
Revised in | Description |
---|---|
CUSTOMTOOLS 2025 SP0 | Extended with AllowInplaceEdits and WritebackInplaceEdits that allow in-place editing and writebacks for item fields set to be editable in GetAdditionalColumnsSetup2(IListViewEx, String, DictionaryString, Boolean, ListString, ListString). |