How do you want people to launch your dialog? From the application menu or
perhaps from a context action in the Project pane when right-clicking on the
project node?
Or should this be a property page that gets added to Project | Project
Properties?
There are a lot of examples in the samples/OpenToolsAPI directory plus you
can find more information in Help | Help Topics. There are also some
OpenTools that include source in places like:
http://codecentral.borland.com/codecentral/ccweb.exe/prodcat?prodid=3&catid=11
http://jbuilder-opentools.dev.java.net/
"FooMan" <joker...@wp.pl> wrote in message
news:42e24e74$1...@newsgroups.borland.com...
Defining a new project property is simple, there are interfaces for string,
string array, boolean, and integer data types.
public static NodeBooleanProperty MY_PROPERTY =
new NodeBooleanProperty("mycategory", "mypropertyname", false);
boolean b = MY_PROPERTY.getBoolean(project);
MY_PROPERTY.setBoolean(project, b);
Sounds like this has to be a modeless dialog that updates when the active
project changes. You will want to do something like this to know when the
project changes:
Browser.addStaticBrowserListener(new BrowserAdapter() {
public void browserProjectActivated(Browser browser, Project project)
{
updateDialog(project);
}
});
"FooMan" <joker...@wp.pl> wrote in message
news:42e26dd7$1...@newsgroups.borland.com...