|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.macro.browser.beans.MacroParameter com.atlassian.confluence.plugins.gadgets.metadata.GadgetMacroParameter
public class GadgetMacroParameter
Adds additional metadata for gadgets : this is only for non hidden prefs.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.macro.browser.beans.MacroParameter |
---|
DELIMITER_DEFAULT, DELIMITER_OPTION |
Constructor Summary | |
---|---|
GadgetMacroParameter(com.atlassian.gadgets.spec.UserPrefSpec pref)
Creates a macro parameter from the provided UserPrefSpec . |
Method Summary | |
---|---|
Message |
getDescription()
|
Message |
getDisplayName()
|
boolean |
isShared()
This results in the macro browser copying the value of this parameter into the value of another parameter. |
Methods inherited from class com.atlassian.confluence.macro.browser.beans.MacroParameter |
---|
addAlias, addEnumValue, addOption, addOptions, getAliases, getDefaultValue, getEnumValues, getName, getOptions, getType, isHidden, isMultiple, isRequired, setDescription, setDisplayName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GadgetMacroParameter(com.atlassian.gadgets.spec.UserPrefSpec pref)
UserPrefSpec
.
Note that only the values from enums are provided, not the keys.
This is due to lack of support in the MacroBrowser despite the addOption() method.
Method Detail |
---|
public boolean isShared()
public Message getDisplayName()
getDisplayName
in class MacroParameter
public Message getDescription()
getDescription
in class MacroParameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |