001/* 002 * (C) Copyright 2006-2007 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 * 019 * $Id$ 020 */ 021 022package org.nuxeo.ecm.platform.ui.web.htmleditor.service; 023 024import org.nuxeo.common.xmap.annotation.XNode; 025import org.nuxeo.common.xmap.annotation.XObject; 026 027/** 028 * TinyMCE plugin descriptor. 029 * 030 * @author <a href="mailto:troger@nuxeo.com">Thomas Roger</a> 031 */ 032@XObject(value = "htmlEditorPlugin") 033public class HtmlEditorPluginDescriptor { 034 035 @XNode("@pluginName") 036 private String pluginName; 037 038 @XNode("@pluginButtonName") 039 private String pluginButtonName; 040 041 @XNode("@toolbarName") 042 private String toolbarName; 043 044 @XNode("@remove") 045 private boolean remove = false; 046 047 public String getPluginName() { 048 return pluginName; 049 } 050 051 public void setPluginName(final String pluginName) { 052 this.pluginName = pluginName; 053 } 054 055 public String getPluginButtonName() { 056 return pluginButtonName; 057 } 058 059 public void setPluginButtonName(final String pluginButtonName) { 060 this.pluginButtonName = pluginButtonName; 061 } 062 063 public String getToolbarName() { 064 return toolbarName; 065 } 066 067 public void setToolbarName(final String toolbarName) { 068 this.toolbarName = toolbarName; 069 } 070 071 public Boolean getRemove() { 072 return remove; 073 } 074 075 public void setRemove(final boolean remove) { 076 this.remove = remove; 077 } 078 079}