Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

virtual bool ItemDocument::isValidItem ( Item item  )  [pure virtual]

Returns:
Whether or not the item is valid; i.e. is appropriate to the document being edited, and does not have other special restrictions on it (such as only allowing one instance of the Start part in FlowCode).

Implemented in CircuitDocument, FlowCodeDocument, PinMapDocument, ICNDocument, and MechanicsDocument.

Referenced by ItemDocumentData::mergeWithDocument().


Generated by  Doxygen 1.6.0   Back to index