X

Geertjan's Blog

  • July 7, 2010

NetBeans HTML Editor in a Multiview Component

Geertjan Wielenga
Product Manager
I got further in embedding the actual NetBeans HTML Editor into a multiview window:

Since the above is the actual HTML Editor used in NetBeans IDE, its features are registered in the layer files of the modules that provide those features. Hence, since the NetBeans HTML Editor provides many features that are not relevant to files in the MemoryFileSystem, such as the one shown in the document above, removing those features is as easy as masking them out in the layer file. For example, I removed the whole popup menu (since everything in there is irrelevant to the above scenario), together with some of the actions in the toolbar, by adding this to a layer file:

<folder name="Editors">
<folder name="Toolbars">
<folder name="Default">
<file name="jump-list-next_hidden"/>
<file name="jump-list-prev_hidden"/>
</folder>
</folder>
<folder name="text">
<folder name="html">
<file name="Popup_hidden"/>
</folder>
</folder>
</folder>

Still buggy and not complete, but here's all the code that produces the above application: MyCMSSystem-alpha2.zip

Join the discussion

Comments ( 1 )
  • Sizzle Friday, July 29, 2011

    MyCMSSystem-alpha2.zip url is broken. I am interested in the multiview of a top component as I am trying to implement a sort of twin view of a search parameters form. One view would show you the fields and their value you are searching by, and the other would give you a textual look as if you would have typed the 'search parameter' by hand.

    As always, I look forward to your next posts.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.