Thread View: borland.public.delphi.opentoolsapi
4 messages
4 total messages
Started by Uwe Raabe
Sun, 23 Dec 2007 21:51
IOTAProjectFileStorageNotifier
Author: Uwe Raabe
Date: Sun, 23 Dec 2007 21:51
Date: Sun, 23 Dec 2007 21:51
7 lines
964 bytes
964 bytes
Hello, I'm trying to implement an IOTAProjectFileStorageNotifier, but I don't know what has to be returned in method GetName to make the ProjectLoaded method being fired. Uwe Raabe
Re: IOTAProjectFileStorageNotifier
Author: Uwe Schuster
Date: Sun, 23 Dec 2007 22:08
Date: Sun, 23 Dec 2007 22:08
12 lines
1232 bytes
1232 bytes
Uwe Raabe wrote: > I'm trying to implement an IOTAProjectFileStorageNotifier, but I > don't know what has to be returned in method GetName to make the > ProjectLoaded method being fired. That tells you the comment above ProjectLoaded and the question is more how to add the node. I will look for my implementation of an IOTAProjectFileStorageNotifier and will let you know. -- Uwe
Re: IOTAProjectFileStorageNotifier
Author: Uwe Schuster
Date: Mon, 24 Dec 2007 00:56
Date: Mon, 24 Dec 2007 00:56
30 lines
1859 bytes
1859 bytes
Uwe Schuster wrote:
> I will look for my implementation of an IOTAProjectFileStorageNotifier
> and will let you know.
I had a look at my implementation, which is only a test, and I do add
the node somewhere else in the wizard and not in the notifier. The code
looks like this:
ProjectFileStorage := BorlandIDEServices as IOTAProjectFileStorage;
if Assigned(ProjectFileStorage) then
begin
Node := ProjectFileStorage.GetProjectStorageNode(GetActiveProject,
'JEDIVCS', False);
if not Assigned(Node) then
begin
Node := ProjectFileStorage.AddNewSection(GetActiveProject,
'JEDIVCS', False);
I've tested it and it seems that it does only work (*) if I use the
local project file (therefor the 3rd parameter in the both called
IOTAProjectFileStorage methods has to be True and not False as in the
code above).
*
the tag is written in file and then
IOTAProjectFileStorageNotifier.ProjectSaving and .ProjectLoaded will be
called afterwards
--
Uwe
Re: IOTAProjectFileStorageNotifier
Author: JED
Date: Mon, 07 Jan 2008 21:48
Date: Mon, 07 Jan 2008 21:48
22 lines
1554 bytes
1554 bytes
Uwe Raabe wrote: > Hello, > > I'm trying to implement an IOTAProjectFileStorageNotifier, but I > don't know what has to be returned in method GetName to make the > ProjectLoaded method being fired. My CF Builder expert used this interface. I didn't find any mention of it on google at the time. I'll see if I get the time to get an example together. Send me an email to remind me (contact page on website in sig) FTR, it is a PITA to work with. -- TJSDialog - TaskDialog for other operating systems: http://www.jed-software.com/jsd.htm Visual Forms IDE Add In: http://www.jed-software.com/vf.htm Blog: http://jedqc.blogspot.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads