| View previous topic :: View next topic |
| Author |
Message |
timotheus2
Joined: 21 Sep 2009 Posts: 21
|
Posted: Mon Oct 05, 2009 2:43 am Post subject: hiding the navigate menu item |
|
|
I have a netbeans platform 6.7.1 application. A module contains a TopComponent in position editor, and a layer.xml. The layer.xml contains:
| Code: | <filesystem>
<folder name="Menu">
<folder name="View_hidden"/>
<folder name="Navigate_hidden"/>
</folder>
</filesystem>
|
Why is the "View" menu hidden and the "Navigate" menu visible?
This seems inconsistent. Thanks. |
|
| Back to top |
|
 |
Tonny Kohar Posted via mailing list.
|
Posted: Mon Oct 05, 2009 3:23 am Post subject: hiding the navigate menu item |
|
|
Hi,
On Mon, Oct 5, 2009 at 9:43 AM, timotheus2 <address-removed> wrote:
| Quote: | I have a netbeans platform 6.7.1 application. A module contains a TopComponent in position editor, and a layer.xml. The layer.xml contains:
Code:
<filesystem>
<folder name="Menu">
<folder name="View_hidden"/>
<folder name="Navigate_hidden"/>
</folder>
</filesystem>
|
It could be happen if your project is consist of multiple module and
in one module it is hidden, and in another module is it enabled and
the module load order make the later module to be loaded last.
Please check your other module, to make sure that navigate (or
whatever it is) not contradict with other module.
And do not forget, to rebuild the your whole project and at least
remove the user-dir to make sure it is not using the cache.
Or the worst case, it is bug on Netbeans itself, then it is time to
create issuezilla :)
Cheers
Tonny Kohar
--
Sketsa SVG Editor
imagine, design, create ...
http://www.kiyut.com |
|
| Back to top |
|
 |
jeremy18
Joined: 29 Oct 2009 Posts: 1
|
Posted: Sat Oct 31, 2009 3:47 pm Post subject: hiding navigate menu item |
|
|
Came across this problem and found the explanation here:
http://antonioshome.net/kitchen/netbeans/nbms-sandwich.php
When hiding items you need to use their "real" name as found in properties. Not the "display" name as seen in the layer explorer.
Hope this helps.
Jeremy
(NetBeans Platform Newbie) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|