2
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
7
* Licensed under the terms of any of the following licenses at your
10
* - GNU General Public License Version 2 or later (the "GPL")
11
* http://www.gnu.org/licenses/gpl.html
13
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
14
* http://www.gnu.org/licenses/lgpl.html
16
* - Mozilla Public License Version 1.1 or later (the "MPL")
17
* http://www.mozilla.org/MPL/MPL-1.1.html
21
* FCKPastePlainTextCommand Class: represents the
22
* "Paste as Plain Text" command.
25
var FCKTableCommand = function( command )
30
FCKTableCommand.prototype.Execute = function()
32
FCKUndo.SaveUndoStep() ;
36
case 'TableInsertRow' :
37
FCKTableHandler.InsertRow() ;
39
case 'TableDeleteRows' :
40
FCKTableHandler.DeleteRows() ;
42
case 'TableInsertColumn' :
43
FCKTableHandler.InsertColumn() ;
45
case 'TableDeleteColumns' :
46
FCKTableHandler.DeleteColumns() ;
48
case 'TableInsertCell' :
49
FCKTableHandler.InsertCell() ;
51
case 'TableDeleteCells' :
52
FCKTableHandler.DeleteCells() ;
54
case 'TableMergeCells' :
55
FCKTableHandler.MergeCells() ;
57
case 'TableSplitCell' :
58
FCKTableHandler.SplitCell() ;
61
FCKTableHandler.DeleteTable() ;
64
alert( FCKLang.UnknownCommand.replace( /%1/g, this.Name ) ) ;
68
FCKTableCommand.prototype.GetState = function()
70
return FCK_TRISTATE_OFF ;
b'\\ No newline at end of file'