Community
Participate
Working Groups
In the doc for the org.eclipse.ui.actionSets extension point, it talks about the "visible" attribute, which according to the doc when set to true will show the action set in all perspectives. This is not the case. It does not do anything. I also could not find any code refering to this attribute. NOTES:
Looking more closely at this problem, I noticed the visible attribute does actually work but the doc should be updated to explain how. We should mention the action set will only get added to new opened perspectives, the perspectives already open when the workbench is started do not get the action set (or is this a bug in the code?)
The behavior is as documented. The visible attribute is referenced within the ActionSetDescriptor class. If the visible attribute is true then ActionSetDescriptor.isInitiallyVisible returns true and the action set is automatically added in the PageLayout.prefill method.
I disagree ;-) We should document the following: 1) After the plugin is install (with action set & visible = true), and the workbench is started, it will not show up in perspectives already opened. Only when new perspectives are opened 2) The action set will never appear in a custom perspective. This is really important because most people will customize the resource/java/etc perspective and save it with the same name. If this is done before the plugin with the visible action set is installed, opening this modified resource/java/etc perspective will not include the action set.
Ack. Doc is modified to reflect.
PRODUCT VERSION: 0.131