This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 52807 - It's impossible to register 3rd party layout manager support delegate
Summary: It's impossible to register 3rd party layout manager support delegate
Status: RESOLVED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-25 13:02 UTC by ikysil
Modified: 2005-01-03 10:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ikysil 2004-12-25 13:02:45 UTC
To register 3rd party layout manager support
delegate module need access to
org.netbeans.modules.form.layoutsupport.** and
org.netbeans.modules.form.codestructure.** classes.
Form module which comes with NB 4.0 install has
following entries in its manifest:
OpenIDE-Module-Implementation-Version: 200412081800
OpenIDE-Module: org.netbeans.modules.form/2
OpenIDE-Module-Public-Packages:
org.netbeans.modules.form.*

which in fact prohibits 3rd party modules from
accessing to packages mentioned above.
Comment 1 ikysil 2004-12-25 13:10:41 UTC
It's possible to install a layout manager support by editing
org-netbeans-modules-form.jar manifest in installed NetBeans.
Change line
OpenIDE-Module-Public-Packages: org.netbeans.modules.form.*
into
OpenIDE-Module-Public-Packages: org.netbeans.modules.form.**
and repack the JAR.
Comment 2 Tomas Pavek 2005-01-03 10:37:47 UTC
We don't plan to make the layout support classes a public API, at
least not in the current state. I wrote some more reasons to nbdev
mailing list:
http://www.netbeans.org/servlets/ReadMsg?msgId=870974&listName=nbdev

But you can still access the packages by declaring implementation
dependency in your module (need to depend on the exact impl. version
of the form module).

Also note that for registering only it should be enough to add the
layout manager (or support delegate) to palette.

Let us know if something does not work for you or have some other
problems.