Al White commented on Apr 6, 2011

Re: Creating a Menu to show only when a view is Active

For Symphony 3, the part IDs to get the menus to show only on when a document is open are:

com.ibm.symphony.ui.writer

com.ibm.symphony.ui.spreadsheet

com.ibm.symphony.ui.presentation

for example, this entry in the plugin.xml results in a menu being visible only when a spreadsheet is open:

{{{ {code:}

{code} }}}

Al White commented on Apr 6, 2011

Re: Creating a Menu to show only when a view is Active

Never mind. Stupid Wiki seems immune to posting xml literally.

Al White commented on Apr 6, 2011

Re: Creating a Menu to show only when a view is Active

{code:}

point="org.eclipse.ui.actionSetPartAssociations">

{code}

Al White commented on Apr 6, 2011

Re: Creating a Menu to show only when a view is Active

For Symphony 3, the part IDs to get the menus to show only on when a document is open are:

com.ibm.symphony.ui.writer

com.ibm.symphony.ui.spreadsheet

com.ibm.symphony.ui.presentation

for example, this entry in the plugin.xml results in a menu being visible only when a spreadsheet is open:

Paul Bastide commented on Mar 15, 2010

Creating a Menu to show only when a view is Active

Joscha Feth

No this is not accurate for the Beta 2 drop.

Please use:

{code:}

 

 

 

 

 

{code}

Thanks

Paul

Joscha Feth commented on Mar 12, 2010

Creating a Menu to show only when a view is Active

is this still valid with Symphony 3 beta 2?