OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / scripts / fckeditor2.6.6 / editor / plugins / tablecommands / fckplugin.js
1 /*
2  * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3  * Copyright (C) 2003-2010 Frederico Caldeira Knabben
4  *
5  * == BEGIN LICENSE ==
6  *
7  * Licensed under the terms of any of the following licenses at your
8  * choice:
9  *
10  *  - GNU General Public License Version 2 or later (the "GPL")
11  *    http://www.gnu.org/licenses/gpl.html
12  *
13  *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
14  *    http://www.gnu.org/licenses/lgpl.html
15  *
16  *  - Mozilla Public License Version 1.1 or later (the "MPL")
17  *    http://www.mozilla.org/MPL/MPL-1.1.html
18  *
19  * == END LICENSE ==
20  *
21  * This plugin register the required Toolbar items to be able to insert the
22  * table commands in the toolbar.
23  */
24
25 FCKToolbarItems.RegisterItem( 'TableInsertRowAfter'             , new FCKToolbarButton( 'TableInsertRowAfter'   , FCKLang.InsertRowAfter, null, null, null, true, 62 ) ) ;
26 FCKToolbarItems.RegisterItem( 'TableDeleteRows'         , new FCKToolbarButton( 'TableDeleteRows'       , FCKLang.DeleteRows, null, null, null, true, 63 ) ) ;
27 FCKToolbarItems.RegisterItem( 'TableInsertColumnAfter'  , new FCKToolbarButton( 'TableInsertColumnAfter'        , FCKLang.InsertColumnAfter, null, null, null, true, 64 ) ) ;
28 FCKToolbarItems.RegisterItem( 'TableDeleteColumns'      , new FCKToolbarButton( 'TableDeleteColumns', FCKLang.DeleteColumns, null, null, null, true, 65 ) ) ;
29 FCKToolbarItems.RegisterItem( 'TableInsertCellAfter'            , new FCKToolbarButton( 'TableInsertCellAfter'  , FCKLang.InsertCellAfter, null, null, null, true, 58 ) ) ;
30 FCKToolbarItems.RegisterItem( 'TableDeleteCells'        , new FCKToolbarButton( 'TableDeleteCells'      , FCKLang.DeleteCells, null, null, null, true, 59 ) ) ;
31 FCKToolbarItems.RegisterItem( 'TableMergeCells'         , new FCKToolbarButton( 'TableMergeCells'       , FCKLang.MergeCells, null, null, null, true, 60 ) ) ;
32 FCKToolbarItems.RegisterItem( 'TableHorizontalSplitCell'                , new FCKToolbarButton( 'TableHorizontalSplitCell'      , FCKLang.SplitCell, null, null, null, true, 61 ) ) ;
33 FCKToolbarItems.RegisterItem( 'TableCellProp'           , new FCKToolbarButton( 'TableCellProp' , FCKLang.CellProperties, null, null, null, true, 57 ) ) ;