Package wicket.contrib.tinymce.settings

Examples of wicket.contrib.tinymce.settings.PreviewPlugin


        PastePlugin pastePlugin = new PastePlugin();
        SearchReplacePlugin searchReplacePlugin = new SearchReplacePlugin();
        DateTimePlugin dateTimePlugin = new DateTimePlugin();
        dateTimePlugin.setDateFormat("Date: %m-%d-%Y");
        dateTimePlugin.setTimeFormat("Time: %H:%M");
        PreviewPlugin previewPlugin = new PreviewPlugin();
        settings.add(Button.cut, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(Button.copy, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(pastePlugin.getPasteButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(pastePlugin.getPasteTextButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(pastePlugin.getPasteWordButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(Button.separator, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(searchReplacePlugin.getSearchButton(), TinyMCESettings.Toolbar.second,
                TinyMCESettings.Position.before);
        settings.add(searchReplacePlugin.getReplaceButton(), TinyMCESettings.Toolbar.second,
                TinyMCESettings.Position.before);
        settings.add(Button.separator, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(Button.separator, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(dateTimePlugin.getDateButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(dateTimePlugin.getTimeButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(Button.separator, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(previewPlugin.getPreviewButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(Button.separator, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(Button.forecolor, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(Button.backcolor, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);

        // third toolbar
View Full Code Here


        PastePlugin pastePlugin = new PastePlugin();
        SearchReplacePlugin searchReplacePlugin = new SearchReplacePlugin();
        DateTimePlugin dateTimePlugin = new DateTimePlugin();
        dateTimePlugin.setDateFormat("Date: %m-%d-%Y");
        dateTimePlugin.setTimeFormat("Time: %H:%M");
        PreviewPlugin previewPlugin = new PreviewPlugin();
        settings.add(Button.cut, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(Button.copy, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(pastePlugin.getPasteButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(pastePlugin.getPasteTextButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(pastePlugin.getPasteWordButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(Button.separator, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(searchReplacePlugin.getSearchButton(), TinyMCESettings.Toolbar.second,
                TinyMCESettings.Position.before);
        settings.add(searchReplacePlugin.getReplaceButton(), TinyMCESettings.Toolbar.second,
                TinyMCESettings.Position.before);
        settings.add(Button.separator, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
        settings.add(Button.separator, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(dateTimePlugin.getDateButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(dateTimePlugin.getTimeButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(Button.separator, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(previewPlugin.getPreviewButton(), TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(Button.separator, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(Button.forecolor, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);
        settings.add(Button.backcolor, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.after);

        // third toolbar
View Full Code Here

    PastePlugin pastePlugin = new PastePlugin();
    SearchReplacePlugin searchReplacePlugin = new SearchReplacePlugin();
    DateTimePlugin dateTimePlugin = new DateTimePlugin();
    dateTimePlugin.setDateFormat("Date: %m-%d-%Y");
    dateTimePlugin.setTimeFormat("Time: %H:%M");
    PreviewPlugin previewPlugin = new PreviewPlugin();
    settings.add(Button.cut, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
    settings.add(Button.copy, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
    settings.add(pastePlugin.getPasteButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(pastePlugin.getPasteTextButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(pastePlugin.getPasteWordButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(Button.separator, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(searchReplacePlugin.getSearchButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(searchReplacePlugin.getReplaceButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(Button.separator, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(Button.separator, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(dateTimePlugin.getDateButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(dateTimePlugin.getTimeButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(Button.separator, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(previewPlugin.getPreviewButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(Button.separator, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(Button.forecolor, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
View Full Code Here

    PastePlugin pastePlugin = new PastePlugin();
    SearchReplacePlugin searchReplacePlugin = new SearchReplacePlugin();
    DateTimePlugin dateTimePlugin = new DateTimePlugin();
    dateTimePlugin.setDateFormat("Date: %m-%d-%Y");
    dateTimePlugin.setTimeFormat("Time: %H:%M");
    PreviewPlugin previewPlugin = new PreviewPlugin();
    settings.add(Button.cut, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
    settings.add(Button.copy, TinyMCESettings.Toolbar.second, TinyMCESettings.Position.before);
    settings.add(pastePlugin.getPasteButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(pastePlugin.getPasteTextButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(pastePlugin.getPasteWordButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(Button.separator, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(searchReplacePlugin.getSearchButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(searchReplacePlugin.getReplaceButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(Button.separator, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.before);
    settings.add(Button.separator, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(dateTimePlugin.getDateButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(dateTimePlugin.getTimeButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(Button.separator, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(previewPlugin.getPreviewButton(), TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(Button.separator, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
    settings.add(Button.forecolor, TinyMCESettings.Toolbar.second,
      TinyMCESettings.Position.after);
View Full Code Here

TOP

Related Classes of wicket.contrib.tinymce.settings.PreviewPlugin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.