Hi,
You could use object events (link).
You could check for after update and then check for the document type you want this functionality to work on.
something like this (in the class):
.....
string docType = "myDocType.test";
public override void Init()
{
DocumentEvents.Update.After += Document_Update_After;
}
...
private void Document_Update_After(object sender, DocumentEventArgs e)
{
if (e.Node.ClassName.ToLower() == docType)
{
AnotherFunction(e);
}
}
...
Hope this helps.
Adam @4Hilton