|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.plugin.macro.MacroDescriptor
public class MacroDescriptor
Describes a macro and its parameters.
NOTE: This class is a serializable, GWT-supported clone of the MacroDescriptor from the rendering module.
| Constructor Summary | |
|---|---|
MacroDescriptor()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCategory()
|
ParameterDescriptor |
getContentDescriptor()
|
java.lang.String |
getDescription()
|
java.lang.String |
getId()
|
java.lang.String |
getName()
|
java.util.Map<java.lang.String,ParameterDescriptor> |
getParameterDescriptorMap()
|
boolean |
isSupportingInlineMode()
|
void |
setCategory(java.lang.String category)
Sets the macro category. |
void |
setContentDescriptor(ParameterDescriptor contentDescriptor)
Sets the content descriptor. |
void |
setDescription(java.lang.String description)
Sets the macro description. |
void |
setId(java.lang.String id)
Sets the identifier of the macro. |
void |
setName(java.lang.String name)
Sets the human-readable name of the macro (e.g. |
void |
setParameterDescriptorMap(java.util.Map<java.lang.String,ParameterDescriptor> parameterDescriptorMap)
Sets the Map of parameter descriptors. |
void |
setSupportingInlineMode(boolean supportingInlineMode)
Sets the flag which indicates if this macro supports in-line mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MacroDescriptor()
| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
id - a macro identifierpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the macro namepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - a String representing the macro descriptionpublic java.lang.String getCategory()
public void setCategory(java.lang.String category)
category - the macro categorypublic java.util.Map<java.lang.String,ParameterDescriptor> getParameterDescriptorMap()
Map with parameter descriptorspublic void setParameterDescriptorMap(java.util.Map<java.lang.String,ParameterDescriptor> parameterDescriptorMap)
Map of parameter descriptors.
parameterDescriptorMap - a Map of parameter descriptorspublic ParameterDescriptor getContentDescriptor()
public void setContentDescriptor(ParameterDescriptor contentDescriptor)
contentDescriptor - the object describing the content of the macropublic boolean isSupportingInlineMode()
true if this macro supports in-line mode, false otherwisepublic void setSupportingInlineMode(boolean supportingInlineMode)
supportingInlineMode - true if this macro is allowed in-line, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||