001/*
002 * (C) Copyright 2006-2007 Nuxeo SAS (http://nuxeo.com/) and contributors.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the GNU Lesser General Public License
006 * (LGPL) version 2.1 which accompanies this distribution, and is available at
007 * http://www.gnu.org/licenses/lgpl.html
008 *
009 * This library is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012 * Lesser General Public License for more details.
013 *
014 * Contributors:
015 *     troger
016 *
017 * $Id$
018 */
019
020package org.nuxeo.ecm.platform.ui.web.htmleditor.service;
021
022import org.nuxeo.common.xmap.annotation.XNode;
023import org.nuxeo.common.xmap.annotation.XObject;
024
025/**
026 * TinyMCE plugin descriptor.
027 *
028 * @author <a href="mailto:troger@nuxeo.com">Thomas Roger</a>
029 */
030@XObject(value = "htmlEditorPlugin")
031public class HtmlEditorPluginDescriptor {
032
033    @XNode("@pluginName")
034    private String pluginName;
035
036    @XNode("@pluginButtonName")
037    private String pluginButtonName;
038
039    @XNode("@toolbarName")
040    private String toolbarName;
041
042    @XNode("@remove")
043    private boolean remove = false;
044
045    public String getPluginName() {
046        return pluginName;
047    }
048
049    public void setPluginName(final String pluginName) {
050        this.pluginName = pluginName;
051    }
052
053    public String getPluginButtonName() {
054        return pluginButtonName;
055    }
056
057    public void setPluginButtonName(final String pluginButtonName) {
058        this.pluginButtonName = pluginButtonName;
059    }
060
061    public String getToolbarName() {
062        return toolbarName;
063    }
064
065    public void setToolbarName(final String toolbarName) {
066        this.toolbarName = toolbarName;
067    }
068
069    public Boolean getRemove() {
070        return remove;
071    }
072
073    public void setRemove(final boolean remove) {
074        this.remove = remove;
075    }
076
077}