|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginGadgetSpecProviderPermission
Used to check if a gadget spec that has been loaded from a plugin should appear in the gadget browser. This may be implemented in a number of ways:
PluginGadgetSpec
that is defined in the ModuleDescriptor
showInDirectory
parameter from the ModuleDescriptor
Method Summary | |
---|---|
Vote |
voteOn(PluginGadgetSpec gadgetSpec)
Returns the implementation's Vote on whether the specified gadget spec should be appear in the
gadget browser. |
Method Detail |
---|
Vote voteOn(PluginGadgetSpec gadgetSpec)
Returns the implementation's Vote
on whether the specified gadget spec should be appear in the
gadget browser.
If DENY
is returned, the gadget should not appear, no matter what any other implementations vote
may be.
If ALLOW
is returned, the gadget should appear in the gadget browser unless another implementation
explicitly denies its appearance.
PASS
will be returned if the implementation has no opinion on whether the gadget should show up in the
gadget browser.
gadgetSpec
- the gadget spec found in a plugin that will be evaluated
Vote
on whether to the gadget should appear in the gadget browser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |