hiding the navigate menu item

View: New views
3 Messages — Rating Filter:   Alert me  

hiding the navigate menu item

by timotheus2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.





Re: hiding the navigate menu item

by Tonny Kohar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Mon, Oct 5, 2009 at 9:43 AM, timotheus2 <netbeans@...> wrote:

> 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

hiding the navigate menu item

by jeremy18 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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)