|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPopupMenuContributionPolicy
A policy interface for popup menu contributions. It inspects a given selection and determines whether the contribution should be applied to the popup menu given that selection or not.
IContributionItemProvider,
ContributionItemService| Method Summary | |
|---|---|
boolean |
appliesTo(ISelection selection,
IConfigurationElement configuration)
Tests whether the policy applies to the given selection. |
| Method Detail |
|---|
boolean appliesTo(ISelection selection,
IConfigurationElement configuration)
selection - The given context of the popup menuconfiguration - The policy's configuration (could be used to parse extra params)
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.