|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentType
Describes the content of a Config in a more technical way. In fact it
provides information to determine how the content should be rendered in a
editor (e.g. CodeMirror).
| Nested Class Summary | |
|---|---|
static class |
ContentType.DefinedType
|
| Method Summary | |
|---|---|
java.lang.String |
getCmMode()
The CodeMirror mode as defined in Stapler ( org.kohsuke.stapler.codemirror.mode.*). |
java.lang.String |
getMime()
Actually the 'mode' attribute for the CodeMirror editor. |
| Method Detail |
|---|
java.lang.String getCmMode()
org.kohsuke.stapler.codemirror.mode.*). <textarea name="config.content" codemirror-mode="${contentType.cmMode}" ... />
java.lang.String getMime()
<textarea name="config.content" codemirror-config="mode:'${contentType.mime}',lineNumbers: true" ... />
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||