Hide Menu items from Netbeans Platform Application in Maven - maven

This is related to How do I hide menus without a layer file in NetBeans Platform? and How to remove items from menu in netBeans platform?. Sadly those are related to an ant built platform.
I'm trying to find out how to the same in Maven built application. I bet there's a way to add a custom layer file.
Any ideas?

It actually works the same way even if you have a Maven-based NetBeans platform application. Try right clicking the module of interest and selecting New->Other->Module Development->XML Layer. This will create and register the layer.xml for you, which you can then hack as desired.

Related

upload addon vaadin to repository maven.vaadin

good day, I would like to load my addon vaadin in maven vaadin, I have already loaded it in the vaadin directory, but I do not know how to publish it in the maven vaadin repository. I thought that this process was done automatically when uploading it to the vaadin directory, but it is not like that.
Currently, the plugin in the vaadin directory is seen in this way in the maven section:
I just had a look at your component and seems like the license is missing. Here are the steps to choose the license:
Go to your component view. I guess it's this one? https://vaadin.com/directory/component/juicyaceeditor
There should be a button called Edit component at the top
Choose Versions tab and click Edit
Scroll down and you should see a list of licenses, make sure you provide a license for each license of your component and don't forget to click Save.
The end result should look something like this:
P/s: Another way to manage your components is by going to See my components, from there you can see and edit any component you have uploaded to Directory.
If you edit your component, and go to the Versions tab, you can edit a version to make sure it's marked as Available. You should also add at least one supported framework.

Spring Elements not showing under Eclipse Navigator

Although i have enabled Spring Elements and i can see that when i right click on my project, it doesn't show up under my project in Navigator.
I installed the necessary plugins also but still cant figure out the issue.
How can i fix this?
Welcome to Spring tool 4. they have removed it. they are suggesting for go to symbol which can be achieved by Ctrl+6. But not that much helpful as Spring elements hierarchy.
How to use Ctrl+6 efficiently:
https://github.com/spring-projects/sts4/wiki/Navigation
Reference to my statement:
https://github.com/spring-projects/sts4/issues/23
The Navigator view directly shows the files and folders without virtual nodes. Use the Project Explorer view instead.

Is there a WYSIWYG option for IntelliJ IDEA when creating a GUI? (Like netbeans)

Been attempting to see if I can find a way to edit the gui form in the IntelliJ IDEA in a WYSIWYG format (pretty much the same as netbeans basically) is this possible?
If not, are you able to point me towards a reliable resource to learn how to learn to create an effective GUI layout (can either be book or online)
Yes there is a Form Designer in IntelliJ.
Please refer to this video
PS - go to Plugins first and ensure UI Designer is enabled.

Modify contents of Firefox download dialog from add-on kit

I'd like to be able to add an option to the download dialog that pops-up in Firefox when starting a file download. Is it possible to do so using the new add-on SDK or do I have to do it the old way?
edit: Obviously, if the new option is selected, I need a way to know it and execute code based on it.
That's something you would use XUL overlays for. I guess that the dialog you are talking about is chrome://mozapps/content/downloads/downloads.xul - the download manager. AFAIK doing this isn't possible with the Add-on SDK, it only provides the most common UI integration points. You could create a traditional extension however, it can overlay any dialog.
There is no existing module that will help you that I know of, so you would have to create one, or wait for one to be made by someone else. But the main idea to extending browser UI is simple, and goes like this:
When the addon is loaded, scan for open windows of the type that you wish to extend.
extend the open windows by adding xul elements and javascript to the page.
listen for newly opened windows, and test that they are the type that you are looking for once they open
extend newly opened windows while your addon is active
Clean up after yourself when windows close or when your addon is disabled/uninstalled.
The last step is the most important and never matter with old school extensions which were not restartless.
Some for the built-in modules that you can look at that do this are the widget module, the context menu module, and the hotkeys module, all of which you can find here.
I've made a couple myself which are the toolbar button module, the xulkeys module, the menuitems module, and a few others, all of which you can find here.
Recently I wrote an extension do the same things. A bootstrap extension, not using addon-sdk.
I already submit it on AMO, but wait for review
https://addons.mozilla.org/en-US/firefox/addon/download-dialog-tweak/
And the source code
https://github.com/muzuiget/download_dialog_tweak

How does MacOS developer navigate large code base

I am new to MacOS development. I would like to know how developer navigate code in a large code base on MacOS? E.g. webkit? I have webkit (c++) built in XCode, but the source code navigate is not that great.
I am looking for something like Java source code navigation in eclipse. e.g. display class hierarchy, e.g. caller of a particular method?
Any one has any idea?
I think what you are looking for is the "Project Symbols" item in the Groups & Files sidebar.
If you double-click it, there are more view/filters, like only showing your project's classes:
Project Symbols http://img25.imageshack.us/img25/6709/symbolbrowserwebkit.png
TextMate (commercial program) has a project browser, it's better than just using XCode to get an overview. For navigating the many files to see how the big projects are layed out, you need a good file manager, such as PathFinder.
Class Browser may help.
Project->Class Browser or Command+Shift+C

Resources