Skip to main content
Namespace: VM.Managed
Assembly: VMObjBase.dll
This base class is to represent the propety document base.

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainer ← Container ← Document ← PropertyDocumentBase

Derived

PropertyDocument<TProp>

Implements

IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IDocument, IObject, IEventProvider, IContainer, ILinkContainer, IOwned, IHasID, IEnableManager, IRelatedDocument, IHistorySupport, IPropertyDocument, IUnitChange, IXMLFormatable

Inherited Members

Document.g_OpenDocuments, Document.m_unit, Document.m_unitKernal, Document.raise_OnChildAdded(object, DocumentEventArgs), Document.raise_OnChildRemoved(object, DocumentEventArgs), Document.raise_OnChildRenamed(object, DocumentEventArgs), Document.raise_OnChildUpdated(object, DocumentEventArgs), Document.raise_OnChildUpdatedEnable(object, DocumentEventArgs), Document.raise_OnChildUpdatedAll(object, DocumentEventArgs), Document.raise_OnChildDocNameUpdated(object, DocumentEventArgs), Document.raise_OnDependentDocumentAdded(object, DependentDocEventArgs), Document.raise_OnDependentDocumentRemoved(object, DependentDocEventArgs), Document.raise_OnClearSelectNavigator(object, DocumentEventArgs), Document.raise_OnChildRootSelect(object, DocumentEventArgs), Document.raise_OnChangeIconForNodalModal(object, DocumentEventArgs), Document.raise_OnDoingImport(object, DocumentEventArgs), Document.raise_OnSkipChildAdded(object, DocumentEventArgs), Document.raise_OnSimulationCaseUpdated(object, EventArgs), Document.raise_OnSubentityRefreshed(object, EventArgs), Document.raise_OnSubentityAdded(object, DocumentEventArgs), Document.raise_OnChildMultiAdded(object, DocumentEventArgs), Document.raise_OnSingleObjectSelected(object, ObjectBaseEventArgs), Document.raise_Destroying(object, EventArgs), Document.raise_ChildAdded(object, Identifier), Document.raise_ChildRemoved(object, Identifier), Document.raise_ChildReplacing(object, Identifier), Document.raise_ChildReplaced(object, Identifier), Document.raise_SelectionChanged(object, IEnumerable<Identifier>), Document.Initialize(Document.OpenDoc, Document.BrowseFile, Document.IsOpenDoc, Document.GetDocFromOpenedDoc, Document.ActiveDocChange, Document.ActiveViewChange), Document.Open(string, bool, bool), Document.Open(string, bool), Document.Open(string), Document.Open(string, string, bool), Document.Open(string, string), Document.TryOpen(string, LoadSerializeContext, bool), Document.TryOpen(string, string, bool), Document.TryOpen(string, string), Document.GetDocumentFromOpenedDocument(string), Document.IsOpen(string), Document.ActiveChangedDoc(), Document.ActiveChangedView(), Document.Save(string), Document.PostSave(List<Document>, bool), Document.CreateView(UIntPtr), Document.CloseView(View), Document.Add(ObjectBase), Document.UpdateEnable(ObjectBase, bool), Document.UpdateInterface(ObjectBase, bool), Document.IsTypeSupported(Type), Document.AddToSelectionList(ObjectBase), Document.CancelSelection(bool, bool), Document.ExitCommandMode(), Document.PostOpenDocument(), Document.PostOpenDocumentAfterHookEvent(), Document.PostOpenDocumentAfterErrCheckEvent(), Document.PostOpenDocumentAfterRestoreObjectID(), Document.PostOpenDocumentAfterSetFilePath(), Document.PostCloseDocument(), Document.LinkRequestDestroy(object, LinkEventArgs), Document.PostOpenDocumentAndInitLayer(), Document.DisplayModeShape(int, double), Document.EnableModeShape(bool), Document.GetData(XmlNode), Document.SetData(XmlNode), Document.OperationBegin(), Document.OperationEnd(), Document.GetCopyOfUnit(), Document.GetCopyOfKernelUnit(), Document.FastToConvertUnitLength(bool), Document.ContainsNameAttribute(string), Document.ReplacesNameAttribute(string, string), Document.GetUniqueNameAttribute(string), Document.UpdateItemInNavigaterForUndoRedo(IObjectBase), Document.AddItemToNavigaterForUndoRedo(ObjectBase), Document.RemoveItemFromNavigaterForUndoRedo(ObjectBase), Document.RenameItemFromNavigaterForUndoRedo(ObjectBase), Document.UpdateAllItemInNavigaterForUndoRedo(), Document.UpdateSimulationConfigurationForUndoRedo(), Document.AddItemToSubEntityForUndoRedo(ObjectBase), Document.AddReferenceForUndoRedo(ObjectBase), Document.RefreshReferenceForUndoRedo(ObjectBase), Document.AddToIDMap(IObject), Document.FindObjectFromID(Identifier), Document.FindObjectFromKey(UIntPtr), Document.RemoveFromIDMap(IObject), Document.WriteIDInformation(), Document.GetNextIdentifier(), Document.GetChildren(), Document.Close(), Document.SetUnit(Unit), Document.SetKernelUnit(string), Document.IsEnabledImpl(ObjectBase), Document.SetEnableImpl(ObjectBase, bool), Document.OnDeserialization(object), Document.OnPostMakeDocument(DocCreateInfo), Document.RegisterAddon(), Document.OnContainerDestroy(object, LinkEventArgs), Document.ClearDocument(), Document.Dispose(bool), Document.ClearChildInfoBeforeDeserialize, Document.ExpressionParser, Document.IsHideEntityListWindow, Document.IsHideFilterWindow, Document.SelectedLayoutAlgorithmType, Document.FilterdTypes, Document.CloseAllDialogWhenCloseDoc, Document.DoingOpen, Document.DoingClose, Document.Attributes, Document.AutoSaved, Document.IsChildExternable, Document.IsExternable, Document.IsReplaced, Document.FilePath, Document.DocumentName, Document.InitialConvertFactor, Document.DocumentSessionOverride, Document.CanClose, Document.Modified, Document.SelectionChanged, Document.ChildReplaced, Document.ChildReplacing, Document.ChildRemoved, Document.ChildAdded, Document.Destroying, Document.OnSingleObjectSelected, Document.OnChildMultiAdded, Document.OnSubentityAdded, Document.OnSubentityRefreshed, Document.OnSimulationCaseUpdated, Document.OnSkipChildAdded, Document.OnDoingImport, Document.OnChangeIconForNodalModal, Document.OnChildRootSelect, Document.OnClearSelectNavigator, Document.OnDependentDocumentRemoved, Document.OnDependentDocumentAdded, Document.OnChildDocNameUpdated, Document.OnChildUpdatedAll, Document.OnChildUpdatedEnable, Document.OnChildUpdated, Document.OnChildRenamed, Document.OnChildRemoved, Document.OnChildAdded, Container.Find(string), Container.FindLocal(string), Container.GetUnnamedObjectName(object), Container.GetNewEntityName(string, bool, int, int), Container.GetNewEntityName(string, bool, int), Container.GetNewEntityName(string), LinkContainer.SetModified(), LinkContainer.raise_OnUpdating(object, LinkEventArgs), LinkContainer.raise_OnUpdate(object, LinkEventArgs), LinkContainer.raise_OnDestroying(object, LinkEventArgs), LinkContainer.raise_OnDestroy(object, LinkEventArgs), LinkContainer.raise_OnAdded(object, AddToDocEventArgs), LinkContainer.raise_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.IsSerializableEvent(Delegate), LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext), LinkContainer.GetSerializedData(SerializationInfo, StreamingContext), LinkContainer.LinkRequestUpdating(object, LinkEventArgs), LinkContainer.LinkRequestUpdate(object, LinkEventArgs), LinkContainer.LinkRequestDestroying(object, LinkEventArgs), LinkContainer.LinkRequestDestroy(object, LinkEventArgs), LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs), LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), LinkContainer.OnLinkReserved(ILink, object, EventArgs), LinkContainer.CanBeDestroy(object), LinkContainer.DisposeManagedResources(), LinkContainer.SetContainer(IOwned, bool), LinkContainer.OnChildUpdated(object, LinkEventArgs), LinkContainer.OnContainerDestroy(object, LinkEventArgs), LinkContainer.OnDeserialization(object), LinkContainer.Verify(VerifiedResult), LinkContainer.GetCopy(object), LinkContainer.Dispose(bool), LinkContainer.ClearChildInfoBeforeDeserialize, LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

PropertyDocumentBase()

Initializes a new instance of the PropertyDocumentBase class.

Properties

CanClose

Gets a value indicating whether this instance can close.

Property Value

bool

DocumentSessionOverride

Gets the document session override.

Property Value

SessionOverride

IsPropertySupport

Gets a value indicating whether this instance is property support.

Property Value

bool

Modified

Gets or sets a value indicating whether this PropertyDocumentBase is modified.

Property Value

bool

OwnedCollection

Gets or sets the object list in propery document.

Property Value

IList<ObjectBase>

OwnedList

Gets or sets the object list in propery document.

Property Value

List<Link<ObjectBase, LinkContainer.None, LinkContainer.None, LinkContainer.None>>

PropertyType

Gets the type of the property.

Property Value

Type

Reload

Gets or sets a value indicating whether this PropertyDocumentBase is reload.

Property Value

bool

SetDocumentSessionOverride

Sets the set document session override.

Property Value

SessionOverride

UntypedProperty

Gets or sets the untyped property.

Property Value

Property

UntypedPropertyOwner

Gets the untyped property owner.

Property Value

ObjectBase

Methods

Add(ObjectBase)

Adds the specified object.

Parameters

obj ObjectBase The object.

AddImpl(ObjectBase)

Adds the specified object [implementation].

Parameters

obj ObjectBase The object.

AddReferenceDocument(Document)

Adds the [reference document] to a container.

Parameters

docReference Document The [reference document].

CreateView(UIntPtr)

Creates the view.

Parameters

hWnd UIntPtr The handle.

Returns

View The view.

DeserializeObj<T>(XmlReader, string, Type)

Deserializes the object.

Parameters

reader XmlReader The reader. strElementName string Name of the element. type Type The object type.

Returns

T The deserialized object.

Type Parameters

T The deserialized object.

FindLocal(string)

Finds an object that matches a specified name in local.

Parameters

strName string Name to search for.

Returns

IObjectBase An object that matches a specified name.

GetData(XmlNode)

Gets the data [Not Implemented].

Parameters

writer XmlNode The writer.

IsTypeSupported(Type)

Determines whether is [type supported] [the specified type].

Parameters

type Type The type.

Load(string)

Loads the from specified path.

Parameters

strPath string The STR path.

Load(TextReader)

Loads the from specified reader.

Parameters

reader TextReader The reader.

Load(Stream)

Loads the from specified stream.

Parameters

stream Stream The stream.

OnDeserialization(object)

Called when [deserialization].

Parameters

obSender object The sender.

OnPostAdd(ObjectBase)

Called when [post add].

Parameters

ob ObjectBase The object.

OnPostMakeDocument(DocCreateInfo)

Called when [post make document].

Parameters

info DocCreateInfo The [create document] information.

RemoveReferenceDocument(Document)

Removes the [reference document] to a container.

Parameters

docReference Document The [reference document].

Save(string)

Saves the from specified path.

Parameters

strPath string The path.

Save(TextWriter)

Saves the from specified writer.

Parameters

writer TextWriter The writer.

Save(Stream)

Saves the from specified stream.

Parameters

stream Stream The stream.

SerializeObj<T>(XmlWriter, T, string)

Serializes the object.

Parameters

writer XmlWriter The writer. ob T The object. strElementName string Name of the element.

Type Parameters

T

SetData(XmlNode)

Sets the data [Not Implemented].

Parameters

reader XmlNode The reader.

SetUnit(Unit)

Sets the unit.

Parameters

unit Unit The unit.

TriggerPostMakeDocument(PropertyDocCreateInfo)

Triggers the [post make document].

Parameters

info PropertyDocCreateInfo The [create property document] information.