Eclipse Platform
2.0

org.eclipse.jface.action
Interface IContributionManagerOverrides


public interface IContributionManagerOverrides

This interface is used by instances of IContributionItem to determine if the values for certain properties have been overriden by their manager.

This interface is internal to the framework; it should not be implemented outside the framework.

Since:
2.0

Field Summary
static String P_ENABLED
          Id for the enabled property.
 
Method Summary
 Integer getAccelerator(IContributionItem item)
           
 String getAcceleratorText(IContributionItem item)
           
 Boolean getEnabled(IContributionItem item)
          Returns Boolean.TRUE if the given contribution item should be enabled, Boolean.FALSE if the item should be disabled, and null if the item may determine its own enablement.
 String getText(IContributionItem item)
           
 

Field Detail

P_ENABLED

public static final String P_ENABLED
Id for the enabled property. Value is "enabled".

Since:
2.0
See Also:
Constant Field Values
Method Detail

getEnabled

public Boolean getEnabled(IContributionItem item)
Returns Boolean.TRUE if the given contribution item should be enabled, Boolean.FALSE if the item should be disabled, and null if the item may determine its own enablement.

Since:
2.0

getAccelerator

public Integer getAccelerator(IContributionItem item)

getAcceleratorText

public String getAcceleratorText(IContributionItem item)

getText

public String getText(IContributionItem item)

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.