Welcome, Guest. Please login or register.
Home Help Search Login Register

Codeweaver Forums  |  Codeweaver Developers  |  SDK Discussion  |  Topic: Codeweaver Final SDK « previous next »
Pages: [1] Print
Author Topic: Codeweaver Final SDK  (Read 2319 times)
Sam Bacsa
Administrator

Posts: 268



Codeweaver Final SDK
« on: February 07, 2007, 02:27:30 am »

Hi all,

You can now get the sample project for creating plugins for CW.

The sample is a clip manager.  Basically what it does is it sits in the context menu of the code editor, and you can highlight stuff and click "Add to Clip Manager" for quick pasting.

The sample demonstrates the following:

- Constructing a plugin class with proper interface and attributes;
- Initialization of icon resources;
- Adding and destroying a workspace tab;
- Adding and controling a context menu item to the editor;
- Adding a context menu item in the Window -> Plugins menu;
- Adding a custom configuration page;
- Interacting with the code editor;
- Saving and loading configuration values from the global user configuration.

If you have any questions, feel free to ask.

NOTE: If you use the ConfigGetValue or ConfigSetValue, your class must pass back a valid GUID via the exposed PluginGuid property (required by the interface).

Testing/Deployment: Copy your plugin over to the \Plugins directory of the CW install folder.  If it doesn't exist, create it.  Make sure your DLL starts with "tdp_" (for example, "tdp_testing.dll") and it will load on startup.
« Last Edit: February 07, 2007, 03:08:48 am by Sam Bacsa » Logged
netmask
Member

Posts: 2



Email
Re: Codeweaver Final SDK
« Reply #1 on: February 07, 2007, 08:42:19 am »

Awesome!

one Question Smiley how i can bind some action of my plugin to a shorctu on the editor?
Logged
Sam Bacsa
Administrator

Posts: 268



Re: Codeweaver Final SDK
« Reply #2 on: February 07, 2007, 01:46:06 pm »

You can't assign one yourself at the moment.  You will need to assign one manually via the Preferences menu.  It should be consistent through sessions.

- Sam
Logged
Pages: [1] Print 
Codeweaver Forums  |  Codeweaver Developers  |  SDK Discussion  |  Topic: Codeweaver Final SDK « previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.597 seconds with 18 queries.