-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d2adae
commit feb457c
Showing
5 changed files
with
276 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.vaadin.tinymce; | ||
|
||
public enum Menubar { | ||
//@formatter:off | ||
FILE("file"), | ||
EDIT("edit"), | ||
VIEW("view"), | ||
INSERT("insert"), | ||
FORMAT("format"), | ||
TOOLS("tools"), | ||
TABLE("table"), | ||
HELP("help"); | ||
//@formatter:on | ||
|
||
public final String menubarLabel; | ||
|
||
private Menubar(String menubarLabel) { | ||
this.menubarLabel = menubarLabel; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
package org.vaadin.tinymce; | ||
|
||
public enum Plugin { | ||
//@formatter:off | ||
ADVLIST("advlist"), | ||
ANCHOR("anchor"), | ||
AUTOLINK("autolink"), | ||
AUTORESIZE("autoresize"), | ||
AUTOSAVE("autosave"), | ||
CHARMAP("charmap"), | ||
CODE("code"), | ||
CODESAMPLE("codesample"), | ||
COLORPICKER("colorpicker"), | ||
CONTEXTMENU("contextmenu"), | ||
DIRECTIONALITY("directionality"), | ||
EMOTICONS("emoticons"), | ||
FULLPAGE("fullpage"), | ||
FULLSCREEN("fullscreen"), | ||
HELP("help"), | ||
HR("hr"), | ||
IMAGE("image"), | ||
IMAGE_TOOLS("imagetools"), | ||
IMPORT_CSS("importcss"), | ||
INSERT_DATETIME("insertdatetime"), | ||
LEGACYOUTPUT("legacyoutput"), | ||
LINK("link"), | ||
LISTS("lists"), | ||
MEDIA("media"), | ||
NONBREAKING("nonbreaking"), | ||
NONEDITABLE("noneditable"), | ||
PAGEBREAK("pagebreak"), | ||
PASTE("paste"), | ||
PREVIEW("preview"), | ||
PRINT("print"), | ||
QUICKBARS("quickbars"), | ||
SAVE("save"), | ||
SEARCH_REPLACE("searchreplace"), | ||
SPELLCHECKER("spellchecker"), | ||
TABFOCUS("tabfocus"), | ||
TABLE("table"), | ||
TEMPLATE("template"), | ||
TEXT_COLOR("textcolor"), | ||
TEXT_PATTERN("textpattern"), | ||
VISUAL_BLOCKS("visualblocks"), | ||
VISUAL_CHARS("visualchars"), | ||
WORDCOUNT("wordcount"); | ||
//@formatter:on | ||
|
||
public final String pluginLabel; | ||
|
||
private Plugin(String pluginLabel) { | ||
this.pluginLabel = pluginLabel; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
package org.vaadin.tinymce; | ||
|
||
public enum Toolbar { | ||
//@formatter:off | ||
SEPARATOR("|"), | ||
UNDO("undo"), | ||
REDO("redo"), | ||
FORMAT_SELECT("formatselect"), | ||
BLOCKS("blocks"), | ||
BOLD("bold"), | ||
ITALIC("italic"), | ||
UNDERLINE("underline"), | ||
STRIKETHROUGH("strikethrough"), | ||
FORECOLOR("forecolor"), | ||
BACKCOLOR("backcolor"), | ||
ALIGN_LEFT("alignleft"), | ||
ALIGN_CENTER("aligncenter"), | ||
ALIGN_RIGHT("alignright"), | ||
ALIGN_JUSTIFY("alignjustify"), | ||
FONTNAME("fontname"), | ||
FONTSIZE("fontsize"), | ||
BLOCKQUOTE("blockquote"), | ||
NUMLIST("numlist"), | ||
BULLIST("bullist"), | ||
OUTDENT("outdent"), | ||
INDENT("indent"), | ||
REMOVE_FORMAT("removeformat"), | ||
HELP("help"), | ||
TABLE("table"), | ||
TABLE_DELETE("tabledelete"), | ||
TABLE_PROPS("tableprops"), | ||
TABLE_ROWPROPS("tablerowprops"), | ||
TABLE_CELLPROPS("tablecellprops"), | ||
TABLE_INSERT_ROW_BEFORE("tableinsertrowbefore"), | ||
TABLE_INSERT_ROW_AFTER("tableinsertrowafter"), | ||
TABLE_DELETE_ROW("tabledeleterow"), | ||
TABLE_INSERT_COL_BEFORE("tableinsertcolbefore"), | ||
TABLE_INSERT_COL_AFTER("tableinsertcolafter"), | ||
FONTSELECT("FONTSELECT"), | ||
FONTSIZESELECT("FONTSIZESELECT"), | ||
EMOTICONS("emoticons"), | ||
LINK("link"), | ||
IMAGE("image"), | ||
MEDIA("media"), | ||
PRINT("print"), | ||
INSERT_DATETIME("insertdatetime"); | ||
//@formatter:on | ||
|
||
public final String toolbarLabel; | ||
|
||
private Toolbar(String toolbarLabel) { | ||
this.toolbarLabel = toolbarLabel; | ||
} | ||
|
||
} |
Oops, something went wrong.