I want to rearrange the tool bar buttons for Eclipse console and remove some items. Is this possible? Customizing the main menu bar and tool bar for the entire application can be done easily.
I'd like access to both the View action and Context menu options.
The Console View does not permit this.
Related
I have a combo control created in the trim status bar using eclipse RCP. I have multiple perspectives in the application. Please suggest a way to hide the combo control in the status bar for a particular perspective programatically (not via plugin.xml).
P.S: I am using NEON eclipse.
Version: Eclipse 4.2 Codename: Juno
I don't see a fast view bar in eclipse 4.2. I can't rightclick on a view and enable fast view. The fast view options under General -> Perspectives does nothing.
Was the fast view feature removed or am I missing something?
I've looked up at http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-9b.htm , but that didn't help either.
The single Fast view bar has been replaced by minimized stacks. Now you simply drag your views into one stack and then minimize it.
I have created a request to get back the original behavior (from platform 3.x):
https://bugs.eclipse.org/bugs/show_bug.cgi?id=385105
Vote for it if you are equally interested.
It is bit tricky read the documentation properly search for fast view bar in the eclipse documentation. in General -> Perspective area set the radio button to fast view and enable hide empty fast view bar. after opening the navigator minimize the navigator now reopen the navigator and click esc it should be working..
If you are missing the views previous located in the fast view?
Use the "Quick Access" search field to find the views.
(located in the top bar to the left of perspective views: Java, Debug etc.)
To view all, click spacebar.
Just open a New Window: main menu | Window | New Window
The Perspective switching bar will be recovered for the new window and you can close the original window.
I'm trying to hide Eclipse menu bar to save some screen real estate. I found I can do this using perspectives but that would permanently take out the menu from that perspective. The behavior that I want to get is something along of auto-hide, so that the menu remains hidden until I hit ALT+F for example or any other ALT key combo.
Is there's a setting or a plugin that can do this?
Thanks!
This is just a work around. Create two perspectives.
First one named - With Menu.
Second one named - Without Menu.
In the "Without Menu" perspective remove all menu items and Save.
To create the effect of hiding and showing, switch between perspectives by using
Ctrl+F8.
Theres a fast view option- just right click the tab and select Fast View. It'll bring the entire window down to the eclipse taskbar. You can recover the window by just clicking on it's icon.
Source: https://bugs.eclipse.org/bugs/show_bug.cgi?id=56119
Have a look here Is there a Macro Recorder for Eclipse? You could set up the macro so respond to ALT+F possibly.
I'm creating a simple eclipse application which will contain only views. I've chosen to use only views so users can arrange and stack their views however they like (since editors and views cannot be stacked together). There also isn't any need for a traditional "editor" and I don't want the editor space always showing. But, enough about my decision to use only views.
I was wondering if there is a way for a view to contribute to the main menu for the application? For example, can switching views cause the main application menu to change?
You can use the org.eclipse.ui.menus extension point and set your command to only be visible when the view is active.
I need to remove the name/shortcut of the view which I have created from the Window->Show View menu and add them as a separate menu.
Is there any way to hide/remove its entry from Window->Show View menu.
You can add/remove any view from the "Show View" menu from the Customize Perspective / Menu Visibility tab:
To do the same thing programmatically would imply to follow the same course of action than the class org.eclipse.ui.internal.dialogs.CustomizePerspectiveDialog, and look into the method okPressed() for instance:
perspective.setShowViewActionIds(menu.getCheckedItemIds());
Vlad Ilie mentions in the comments:
as I only needed for the View to be completely inaccessible via usual GUI, activities were enough for me as per this blog post "eEclipse Activities – Hide / Display certain UI elements":
This would mean that programmatically the WorkbenchActivitySupport.setEnabledActivityIds(String[]) method can be used to enable or disable views after they've been introduced into an activity.
I would suggest you to go to window->Preferences or customize perspective. I think this is place from where we can controls the menu's to be displayed.