de.cau.cs.kieler.ksbase.ui.menus
Class DynamicMenu

java.lang.Object
  extended by org.eclipse.jface.action.ContributionItem
      extended by org.eclipse.ui.actions.CompoundContributionItem
          extended by de.cau.cs.kieler.ksbase.ui.menus.DynamicMenu
All Implemented Interfaces:
IContributionItem

Deprecated. currently not used. transformations through preference pages are not supported due to problems with creating dynamic bundles together with fixed menus. Leads to index out of bounds exceptions (See Eclipse bug).

public class DynamicMenu
extends CompoundContributionItem

A class implementing a dynamic menu. Used to add custom transformation commands that have been configured by using the preference page.

Rating red

Constructor Summary
DynamicMenu()
          Deprecated. Default empty constructor.
DynamicMenu(String id)
          Deprecated. Creates a contribution with the given id.
 
Method Summary
protected  IContributionItem[] getContributionItems()
          Deprecated.  
 boolean isDynamic()
          Deprecated.  
 boolean isVisible()
          Deprecated.  
 
Methods inherited from class org.eclipse.ui.actions.CompoundContributionItem
dispose, fill, isDirty, setParent
 
Methods inherited from class org.eclipse.jface.action.ContributionItem
fill, fill, fill, getId, getParent, isEnabled, isGroupMarker, isSeparator, saveWidgetState, setId, setVisible, toString, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamicMenu

public DynamicMenu()
Deprecated. 
Default empty constructor.


DynamicMenu

public DynamicMenu(String id)
Deprecated. 
Creates a contribution with the given id.

Parameters:
id - The contribution item id
Method Detail

isDynamic

public boolean isDynamic()
Deprecated. 
Specified by:
isDynamic in interface IContributionItem
Overrides:
isDynamic in class CompoundContributionItem

getContributionItems

protected IContributionItem[] getContributionItems()
Deprecated. 
Specified by:
getContributionItems in class CompoundContributionItem

isVisible

public boolean isVisible()
Deprecated. 
Specified by:
isVisible in interface IContributionItem
Overrides:
isVisible in class ContributionItem