source: companies/celepar/expressoMail1_2/js/fckeditor/editor/_source/commandclasses/fcknamedcommand.js @ 763

Revision 763, 827 bytes checked in by niltonneto, 15 years ago (diff)

Importação inicial do Expresso da Celepar

Line 
1/*
2 * FCKeditor - The text editor for internet
3 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4 *
5 * Licensed under the terms of the GNU Lesser General Public License:
6 *              http://www.opensource.org/licenses/lgpl-license.php
7 *
8 * For further information visit:
9 *              http://www.fckeditor.net/
10 *
11 * "Support Open Source software. What about a donation today?"
12 *
13 * File Name: fcknamedcommand.js
14 *      FCKNamedCommand Class: represents an internal browser command.
15 *
16 * File Authors:
17 *              Frederico Caldeira Knabben (fredck@fckeditor.net)
18 */
19
20var FCKNamedCommand = function( commandName )
21{
22        this.Name = commandName ;
23}
24
25FCKNamedCommand.prototype.Execute = function()
26{
27        FCK.ExecuteNamedCommand( this.Name ) ;
28}
29
30FCKNamedCommand.prototype.GetState = function()
31{
32        return FCK.GetNamedCommandState( this.Name ) ;
33}
Note: See TracBrowser for help on using the repository browser.