001/* 002 * (C) Copyright 2006-2016 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * troger 018 */ 019package org.nuxeo.ecm.platform.ui.web.htmleditor.service; 020 021import org.nuxeo.common.xmap.annotation.XNode; 022import org.nuxeo.common.xmap.annotation.XObject; 023 024/** 025 * TinyMCE plugin descriptor. 026 * 027 * @author <a href="mailto:troger@nuxeo.com">Thomas Roger</a> 028 */ 029@XObject(value = "htmlEditorPlugin") 030public class HtmlEditorPluginDescriptor { 031 032 @XNode("@pluginName") 033 private String pluginName; 034 035 @XNode("@pluginButtonName") 036 private String pluginButtonName; 037 038 @XNode("@toolbarName") 039 private String toolbarName; 040 041 @XNode("@remove") 042 private boolean remove = false; 043 044 public String getPluginName() { 045 return pluginName; 046 } 047 048 public void setPluginName(final String pluginName) { 049 this.pluginName = pluginName; 050 } 051 052 public String getPluginButtonName() { 053 return pluginButtonName; 054 } 055 056 public void setPluginButtonName(final String pluginButtonName) { 057 this.pluginButtonName = pluginButtonName; 058 } 059 060 public String getToolbarName() { 061 return toolbarName; 062 } 063 064 public void setToolbarName(final String toolbarName) { 065 this.toolbarName = toolbarName; 066 } 067 068 public boolean isRemove() { 069 return remove; 070 } 071 072 public void setRemove(final boolean remove) { 073 this.remove = remove; 074 } 075 076}