Tools API - NotifierS

xiaoxiao2021-03-06  49

Tools API NotifierSopen Tools API

IntroductionServiceswizardsMessageSnotiFierscreatorsEditorsdebuggerexamplesCustom Forms

HomeNotifiers tell your wizard when something interesting happens in the IDE. Create a notifier by defining a class that implements a particular notifier interface, and then registering an instance of that notifier with another interface. All notifiers must implement IOTANotifier, although Delphi does not call of ITS Methods.

IotaEdiTorNotifier

DO NOT Use. Causes Access ViOLATIONS IS You Try To Use it. Use an old-style module notifier instead.

IotaFormNotifier

Formactivated and

Formsaving Are Never Called. Delphi Calls

Componentrenamed WHEN THE User Adds, Renames, or deletes a component.

IotAbreakPointNotifier

Set a breakpoint notifier to tell you when something interesting happens with a breakpoint. When the user modifies a breakpoint, Delphi frees the old breakpoint object and creates a new one. Because the debugger notifier does not work, your wizard never learns about this. All you get is the destroyed notification telling you the old breakpoint is gone.

IotathreadNotifier

. The thread notifier tells you when something interesting happens in a thread Remember every process has at least one thread The thread notifier does not report faults and exceptions in a thread, though;. At least I never got them to work It does report stopping. At a breakpoint. Note That

IoTathreadNotifier Misspells "Evaluate." You Must Implement Tha "

EVALUTECOMPLETE "Method.

IotaprocessModnotifier

The only method that's used here is Modified, which tells you when Delphi has loaded or unloaded the module's symbols. A typical process loads many modules (DLLs), only a few of which have symbols.IOTAProcessNotifier

.

IOTADEBUGERNOTIFIER

Not implemented. Delphi never calls its methods. Without this, the other debugger notifiers are almost useless. In particular, your wizard can not learn when the user starts a process, so the wizard can register a process notifier. Nor does your wizard learn about new Or Modified Breakpoints, SO IT CAN Set A Breakpoint Notifier. See The

Debugger page for more information.

IotaideNotifier

This One Works. Note That Delphi Calls The Compilation Events When Code Insight Parses The Source File, In Other Words, a LOT.

Copyright © 1998 Tempest Software, Inc. All Rights Reserved.

转载请注明原文地址:https://www.9cbs.com/read-81740.html

New Post(0)