Added DDL Statements to pallet.
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/AlterStmt.java Thu Oct 06 13:35:59 2011 +0530
1.3 @@ -0,0 +1,68 @@
1.4 +/*
1.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
1.6 + *
1.7 + * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
1.8 + *
1.9 + * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
1.10 + * Other names may be trademarks of their respective owners.
1.11 + *
1.12 + * The contents of this file are subject to the terms of either the GNU
1.13 + * General Public License Version 2 only ("GPL") or the Common
1.14 + * Development and Distribution License("CDDL") (collectively, the
1.15 + * "License"). You may not use this file except in compliance with the
1.16 + * License. You can obtain a copy of the License at
1.17 + * http://www.netbeans.org/cddl-gplv2.html
1.18 + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
1.19 + * specific language governing permissions and limitations under the
1.20 + * License. When distributing the software, include this License Header
1.21 + * Notice in each file and include the License file at
1.22 + * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
1.23 + * particular file as subject to the "Classpath" exception as provided
1.24 + * by Oracle in the GPL Version 2 section of the License file that
1.25 + * accompanied this code. If applicable, add the following below the
1.26 + * License Header, with the fields enclosed by brackets [] replaced by
1.27 + * your own identifying information:
1.28 + * "Portions Copyrighted [year] [name of copyright owner]"
1.29 + *
1.30 + * If you wish your version of this file to be governed by only the CDDL
1.31 + * or only the GPL Version 2, indicate your decision by adding
1.32 + * "[Contributor] elects to include this software in this distribution
1.33 + * under the [CDDL or GPL Version 2] license." If you do not indicate a
1.34 + * single choice of license, a recipient has the option to distribute
1.35 + * your version of this file under either the CDDL, the GPL Version 2 or
1.36 + * to extend the choice of license to its licensees as provided above.
1.37 + * However, if you add GPL Version 2 code and therefore, elected the GPL
1.38 + * Version 2 license, then the option applies only if the new code is
1.39 + * made subject to such option by the copyright holder.
1.40 + *
1.41 + * Contributor(s):
1.42 + *
1.43 + * Portions Copyrighted 2011 Sun Microsystems, Inc.
1.44 + */
1.45 +package org.netbeans.modules.plsql.palette.item.ddlstmt;
1.46 +
1.47 +import org.netbeans.modules.plsql.palette.PaletteItem;
1.48 +
1.49 +/*
1.50 + * Class description
1.51 + *
1.52 + * Created on October 06, 2011, 3:11 PM
1.53 + *
1.54 + * @author IFS
1.55 + *
1.56 + * To change this template, choose Tools | Template Manager
1.57 + * and open the template in the editor.
1.58 + */
1.59 +public class AlterStmt extends PaletteItem{
1.60 +
1.61 + /**Create a new instance of the AlterStmt*/
1.62 + public AlterStmt(){
1.63 + }
1.64 +
1.65 + @Override
1.66 + public String createBody() {
1.67 + String alterStmt = "ALTER TABLE <table_name> \nADD CONSTRAINT <constraint_name> PRIMARY KEY (<attribute_list>);\n";
1.68 + return alterStmt;
1.69 + }
1.70 +
1.71 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/CreateIndexStmt.java Thu Oct 06 13:35:59 2011 +0530
2.3 @@ -0,0 +1,68 @@
2.4 +/*
2.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
2.6 + *
2.7 + * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
2.8 + *
2.9 + * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
2.10 + * Other names may be trademarks of their respective owners.
2.11 + *
2.12 + * The contents of this file are subject to the terms of either the GNU
2.13 + * General Public License Version 2 only ("GPL") or the Common
2.14 + * Development and Distribution License("CDDL") (collectively, the
2.15 + * "License"). You may not use this file except in compliance with the
2.16 + * License. You can obtain a copy of the License at
2.17 + * http://www.netbeans.org/cddl-gplv2.html
2.18 + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
2.19 + * specific language governing permissions and limitations under the
2.20 + * License. When distributing the software, include this License Header
2.21 + * Notice in each file and include the License file at
2.22 + * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
2.23 + * particular file as subject to the "Classpath" exception as provided
2.24 + * by Oracle in the GPL Version 2 section of the License file that
2.25 + * accompanied this code. If applicable, add the following below the
2.26 + * License Header, with the fields enclosed by brackets [] replaced by
2.27 + * your own identifying information:
2.28 + * "Portions Copyrighted [year] [name of copyright owner]"
2.29 + *
2.30 + * If you wish your version of this file to be governed by only the CDDL
2.31 + * or only the GPL Version 2, indicate your decision by adding
2.32 + * "[Contributor] elects to include this software in this distribution
2.33 + * under the [CDDL or GPL Version 2] license." If you do not indicate a
2.34 + * single choice of license, a recipient has the option to distribute
2.35 + * your version of this file under either the CDDL, the GPL Version 2 or
2.36 + * to extend the choice of license to its licensees as provided above.
2.37 + * However, if you add GPL Version 2 code and therefore, elected the GPL
2.38 + * Version 2 license, then the option applies only if the new code is
2.39 + * made subject to such option by the copyright holder.
2.40 + *
2.41 + * Contributor(s):
2.42 + *
2.43 + * Portions Copyrighted 2011 Sun Microsystems, Inc.
2.44 + */
2.45 +package org.netbeans.modules.plsql.palette.item.ddlstmt;
2.46 +
2.47 +import org.netbeans.modules.plsql.palette.PaletteItem;
2.48 +
2.49 +/*
2.50 + * Class description
2.51 + *
2.52 + * Created on October 06, 2011, 3:11 PM
2.53 + *
2.54 + * @author IFS
2.55 + *
2.56 + * To change this template, choose Tools | Template Manager
2.57 + * and open the template in the editor.
2.58 + */
2.59 +public class CreateIndexStmt extends PaletteItem{
2.60 +
2.61 + /**Create a new instance of the CreateIndexStmt*/
2.62 + public CreateIndexStmt(){
2.63 + }
2.64 +
2.65 + @Override
2.66 + public String createBody() {
2.67 + String createIndexStmt = "CREATE INDEX <index_name> ON <table_name>(<attr_list>);\n";
2.68 + return createIndexStmt;
2.69 + }
2.70 +
2.71 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/CreateStmt.java Thu Oct 06 13:35:59 2011 +0530
3.3 @@ -0,0 +1,68 @@
3.4 +/*
3.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3.6 + *
3.7 + * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
3.8 + *
3.9 + * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
3.10 + * Other names may be trademarks of their respective owners.
3.11 + *
3.12 + * The contents of this file are subject to the terms of either the GNU
3.13 + * General Public License Version 2 only ("GPL") or the Common
3.14 + * Development and Distribution License("CDDL") (collectively, the
3.15 + * "License"). You may not use this file except in compliance with the
3.16 + * License. You can obtain a copy of the License at
3.17 + * http://www.netbeans.org/cddl-gplv2.html
3.18 + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
3.19 + * specific language governing permissions and limitations under the
3.20 + * License. When distributing the software, include this License Header
3.21 + * Notice in each file and include the License file at
3.22 + * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
3.23 + * particular file as subject to the "Classpath" exception as provided
3.24 + * by Oracle in the GPL Version 2 section of the License file that
3.25 + * accompanied this code. If applicable, add the following below the
3.26 + * License Header, with the fields enclosed by brackets [] replaced by
3.27 + * your own identifying information:
3.28 + * "Portions Copyrighted [year] [name of copyright owner]"
3.29 + *
3.30 + * If you wish your version of this file to be governed by only the CDDL
3.31 + * or only the GPL Version 2, indicate your decision by adding
3.32 + * "[Contributor] elects to include this software in this distribution
3.33 + * under the [CDDL or GPL Version 2] license." If you do not indicate a
3.34 + * single choice of license, a recipient has the option to distribute
3.35 + * your version of this file under either the CDDL, the GPL Version 2 or
3.36 + * to extend the choice of license to its licensees as provided above.
3.37 + * However, if you add GPL Version 2 code and therefore, elected the GPL
3.38 + * Version 2 license, then the option applies only if the new code is
3.39 + * made subject to such option by the copyright holder.
3.40 + *
3.41 + * Contributor(s):
3.42 + *
3.43 + * Portions Copyrighted 2011 Sun Microsystems, Inc.
3.44 + */
3.45 +package org.netbeans.modules.plsql.palette.item.ddlstmt;
3.46 +
3.47 +import org.netbeans.modules.plsql.palette.PaletteItem;
3.48 +
3.49 +/*
3.50 + * Class description
3.51 + *
3.52 + * Created on October 06, 2011, 3:11 PM
3.53 + *
3.54 + * @author IFS
3.55 + *
3.56 + * To change this template, choose Tools | Template Manager
3.57 + * and open the template in the editor.
3.58 + */
3.59 +public class CreateStmt extends PaletteItem{
3.60 +
3.61 + /**Create a new instance of the CreateStmt*/
3.62 + public CreateStmt(){
3.63 + }
3.64 +
3.65 + @Override
3.66 + public String createBody() {
3.67 + String createStmt = "CREATE TABLE <table_name> (\n\t<attribute_name> <data_type>);\n";
3.68 + return createStmt;
3.69 + }
3.70 +
3.71 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/DropIndexStmt.java Thu Oct 06 13:35:59 2011 +0530
4.3 @@ -0,0 +1,68 @@
4.4 +/*
4.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4.6 + *
4.7 + * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
4.8 + *
4.9 + * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
4.10 + * Other names may be trademarks of their respective owners.
4.11 + *
4.12 + * The contents of this file are subject to the terms of either the GNU
4.13 + * General Public License Version 2 only ("GPL") or the Common
4.14 + * Development and Distribution License("CDDL") (collectively, the
4.15 + * "License"). You may not use this file except in compliance with the
4.16 + * License. You can obtain a copy of the License at
4.17 + * http://www.netbeans.org/cddl-gplv2.html
4.18 + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
4.19 + * specific language governing permissions and limitations under the
4.20 + * License. When distributing the software, include this License Header
4.21 + * Notice in each file and include the License file at
4.22 + * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
4.23 + * particular file as subject to the "Classpath" exception as provided
4.24 + * by Oracle in the GPL Version 2 section of the License file that
4.25 + * accompanied this code. If applicable, add the following below the
4.26 + * License Header, with the fields enclosed by brackets [] replaced by
4.27 + * your own identifying information:
4.28 + * "Portions Copyrighted [year] [name of copyright owner]"
4.29 + *
4.30 + * If you wish your version of this file to be governed by only the CDDL
4.31 + * or only the GPL Version 2, indicate your decision by adding
4.32 + * "[Contributor] elects to include this software in this distribution
4.33 + * under the [CDDL or GPL Version 2] license." If you do not indicate a
4.34 + * single choice of license, a recipient has the option to distribute
4.35 + * your version of this file under either the CDDL, the GPL Version 2 or
4.36 + * to extend the choice of license to its licensees as provided above.
4.37 + * However, if you add GPL Version 2 code and therefore, elected the GPL
4.38 + * Version 2 license, then the option applies only if the new code is
4.39 + * made subject to such option by the copyright holder.
4.40 + *
4.41 + * Contributor(s):
4.42 + *
4.43 + * Portions Copyrighted 2011 Sun Microsystems, Inc.
4.44 + */
4.45 +package org.netbeans.modules.plsql.palette.item.ddlstmt;
4.46 +
4.47 +import org.netbeans.modules.plsql.palette.PaletteItem;
4.48 +
4.49 +/*
4.50 + * Class description
4.51 + *
4.52 + * Created on October 06, 2011, 3:11 PM
4.53 + *
4.54 + * @author IFS
4.55 + *
4.56 + * To change this template, choose Tools | Template Manager
4.57 + * and open the template in the editor.
4.58 + */
4.59 +public class DropIndexStmt extends PaletteItem{
4.60 +
4.61 + /**Create a new instance of the DropIndexStmt*/
4.62 + public DropIndexStmt(){
4.63 + }
4.64 +
4.65 + @Override
4.66 + public String createBody() {
4.67 + String dropIndexStmt = "DROP INDEX <index_name>;\n";
4.68 + return dropIndexStmt;
4.69 + }
4.70 +
4.71 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/DropStmt.java Thu Oct 06 13:35:59 2011 +0530
5.3 @@ -0,0 +1,68 @@
5.4 +/*
5.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5.6 + *
5.7 + * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
5.8 + *
5.9 + * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
5.10 + * Other names may be trademarks of their respective owners.
5.11 + *
5.12 + * The contents of this file are subject to the terms of either the GNU
5.13 + * General Public License Version 2 only ("GPL") or the Common
5.14 + * Development and Distribution License("CDDL") (collectively, the
5.15 + * "License"). You may not use this file except in compliance with the
5.16 + * License. You can obtain a copy of the License at
5.17 + * http://www.netbeans.org/cddl-gplv2.html
5.18 + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
5.19 + * specific language governing permissions and limitations under the
5.20 + * License. When distributing the software, include this License Header
5.21 + * Notice in each file and include the License file at
5.22 + * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
5.23 + * particular file as subject to the "Classpath" exception as provided
5.24 + * by Oracle in the GPL Version 2 section of the License file that
5.25 + * accompanied this code. If applicable, add the following below the
5.26 + * License Header, with the fields enclosed by brackets [] replaced by
5.27 + * your own identifying information:
5.28 + * "Portions Copyrighted [year] [name of copyright owner]"
5.29 + *
5.30 + * If you wish your version of this file to be governed by only the CDDL
5.31 + * or only the GPL Version 2, indicate your decision by adding
5.32 + * "[Contributor] elects to include this software in this distribution
5.33 + * under the [CDDL or GPL Version 2] license." If you do not indicate a
5.34 + * single choice of license, a recipient has the option to distribute
5.35 + * your version of this file under either the CDDL, the GPL Version 2 or
5.36 + * to extend the choice of license to its licensees as provided above.
5.37 + * However, if you add GPL Version 2 code and therefore, elected the GPL
5.38 + * Version 2 license, then the option applies only if the new code is
5.39 + * made subject to such option by the copyright holder.
5.40 + *
5.41 + * Contributor(s):
5.42 + *
5.43 + * Portions Copyrighted 2011 Sun Microsystems, Inc.
5.44 + */
5.45 +package org.netbeans.modules.plsql.palette.item.ddlstmt;
5.46 +
5.47 +import org.netbeans.modules.plsql.palette.PaletteItem;
5.48 +
5.49 +/*
5.50 + * Class description
5.51 + *
5.52 + * Created on October 06, 2011, 3:11 PM
5.53 + *
5.54 + * @author IFS
5.55 + *
5.56 + * To change this template, choose Tools | Template Manager
5.57 + * and open the template in the editor.
5.58 + */
5.59 +public class DropStmt extends PaletteItem{
5.60 +
5.61 + /**Create a new instance of the DropStmt*/
5.62 + public DropStmt(){
5.63 + }
5.64 +
5.65 + @Override
5.66 + public String createBody() {
5.67 + String dropStmt = "DROP TABLE <table_name>;\n";
5.68 + return dropStmt;
5.69 + }
5.70 +
5.71 +}
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/resource/AlterStmt.xml Thu Oct 06 13:35:59 2011 +0530
6.3 @@ -0,0 +1,10 @@
6.4 +<?xml version="1.0" encoding="UTF-8"?>
6.5 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN" "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
6.6 +<editor_palette_item version="1.0">
6.7 + <class name="org.netbeans.modules.plsql.palette.item.ddlstmt.AlterStmt"/>
6.8 + <icon16 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
6.9 + <icon32 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
6.10 + <description localizing-bundle="org/netbeans/modules.plsql.palette.item.ddlstmt.resource.Bundle"
6.11 + display-name-key="NAME_PLSQL-AlterStmt"
6.12 + tooltip-key="HINT_PLSQL-AlterStmt" />
6.13 +</editor_palette_item>
6.14 \ No newline at end of file
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/resource/Bundle.properties Thu Oct 06 13:35:59 2011 +0530
7.3 @@ -0,0 +1,22 @@
7.4 +# Sample ResourceBundle properties file
7.5 +NAME_PLSQL-CreateStmt = Create Table
7.6 +HINT_PLSQL-CreateStmt = \
7.7 +CREATE TABLE <table name> (\
7.8 + <attribute name>);
7.9 +
7.10 +NAME_PLSQL-AlterStmt = Alter Table
7.11 +HINT_PLSQL-AlterStmt = \
7.12 +ALTER TABLE <table name> \
7.13 +ADD CONSTRAINT <constraint name> PRIMARY KEY (<attribute list>);
7.14 +
7.15 +NAME_PLSQL-DropStmt = Drop Table
7.16 +HINT_PLSQL-DropStmt = \
7.17 +DROP TABLE <table name>;
7.18 +
7.19 +NAME_PLSQL-CreateIndexStmt = Create Index
7.20 +HINT_PLSQL-CreateIndexStmt = \
7.21 +CREATE INDEX <index name> ON <table_name>(<attribute list>);
7.22 +
7.23 +NAME_PLSQL-DropIndexStmt = Drop Index
7.24 +HINT_PLSQL-DropIndexStmt = \
7.25 +DROP INDEX <index name>;
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/resource/CreatStmt.xml Thu Oct 06 13:35:59 2011 +0530
8.3 @@ -0,0 +1,10 @@
8.4 +<?xml version="1.0" encoding="UTF-8"?>
8.5 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN" "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
8.6 +<editor_palette_item version="1.0">
8.7 + <class name="org.netbeans.modules.plsql.palette.item.ddlstmt.CreateStmt"/>
8.8 + <icon16 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
8.9 + <icon32 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
8.10 + <description localizing-bundle="org.netbeans.modules.plsql.palette.item.ddlstmt.resource.Bundle"
8.11 + display-name-key="NAME_PLSQL-CreateStmt"
8.12 + tooltip-key="HINT_PLSQL-CreateStmt" />
8.13 +</editor_palette_item>
8.14 \ No newline at end of file
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/resource/CreateIndexStmt.xml Thu Oct 06 13:35:59 2011 +0530
9.3 @@ -0,0 +1,10 @@
9.4 +<?xml version="1.0" encoding="UTF-8"?>
9.5 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN" "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
9.6 +<editor_palette_item version="1.0">
9.7 + <class name="org.netbeans.modules.plsql.palette.item.ddlstmt.CreateIndexStmt"/>
9.8 + <icon16 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
9.9 + <icon32 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
9.10 + <description localizing-bundle="org.netbeans.modules.plsql.palette.item.ddlstmt.resource.Bundle"
9.11 + display-name-key="NAME_PLSQL-CreateIndexStmt"
9.12 + tooltip-key="HINT_PLSQL-CreateIndexStmt" />
9.13 +</editor_palette_item>
9.14 \ No newline at end of file
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/resource/CreateStmt.xml Thu Oct 06 13:35:59 2011 +0530
10.3 @@ -0,0 +1,10 @@
10.4 +<?xml version="1.0" encoding="UTF-8"?>
10.5 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN" "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
10.6 +<editor_palette_item version="1.0">
10.7 + <class name="org.netbeans.modules.plsql.palette.item.ddlstmt.CreateStmt"/>
10.8 + <icon16 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
10.9 + <icon32 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
10.10 + <description localizing-bundle="org.netbeans.modules.plsql.palette.item.ddlstmt.resource.Bundle"
10.11 + display-name-key="NAME_PLSQL-CreateStmt"
10.12 + tooltip-key="HINT_PLSQL-CreateStmt" />
10.13 +</editor_palette_item>
10.14 \ No newline at end of file
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/resource/DropIndexStmt.xml Thu Oct 06 13:35:59 2011 +0530
11.3 @@ -0,0 +1,10 @@
11.4 +<?xml version="1.0" encoding="UTF-8"?>
11.5 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN" "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
11.6 +<editor_palette_item version="1.0">
11.7 + <class name="org.netbeans.modules.plsql.palette.item.ddlstmt.DropIndexStmt"/>
11.8 + <icon16 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
11.9 + <icon32 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
11.10 + <description localizing-bundle="org.netbeans.modules.plsql.palette.item.ddlstmt.resource.Bundle"
11.11 + display-name-key="NAME_PLSQL-DropIndexStmt"
11.12 + tooltip-key="HINT_PLSQL-DropIndexStmt" />
11.13 +</editor_palette_item>
11.14 \ No newline at end of file
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/resource/DropStmt.xml Thu Oct 06 13:35:59 2011 +0530
12.3 @@ -0,0 +1,10 @@
12.4 +<?xml version="1.0" encoding="UTF-8"?>
12.5 +<!DOCTYPE editor_palette_item PUBLIC "-//NetBeans//Editor Palette Item 1.0//EN" "http://www.netbeans.org/dtds/editor-palette-item-1_0.dtd">
12.6 +<editor_palette_item version="1.0">
12.7 + <class name="org.netbeans.modules.plsql.palette.item.ddlstmt.DropStmt"/>
12.8 + <icon16 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
12.9 + <icon32 urlvalue = "org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif"/>
12.10 + <description localizing-bundle="org.netbeans.modules.plsql.palette.item.ddlstmt.resource.Bundle"
12.11 + display-name-key="NAME_PLSQL-DropStmt"
12.12 + tooltip-key="HINT_PLSQL-DropStmt" />
12.13 +</editor_palette_item>
12.14 \ No newline at end of file
13.1 Binary file PLSQL/Palette/src/org/netbeans/modules/plsql/palette/item/ddlstmt/resource/statement.gif has changed
14.1 --- a/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/layer.xml Thu Oct 06 10:37:45 2011 +0530
14.2 +++ b/PLSQL/Palette/src/org/netbeans/modules/plsql/palette/layer.xml Thu Oct 06 13:35:59 2011 +0530
14.3 @@ -45,6 +45,13 @@
14.4 <file name="SequenceStmt.xml" url="item/stmt/resource/SequenceStmt.xml"/>
14.5 <file name="UpdateStmt.xml" url="item/stmt/resource/UpdateStmt.xml"/>
14.6 </folder>
14.7 + <folder name="DDL Statements">
14.8 + <file name="CreateStmt.xml" url="item/ddlstmt/resource/CreateStmt.xml"/>
14.9 + <file name="AlterStmt.xml" url="item/ddlstmt/resource/AlterStmt.xml"/>
14.10 + <file name="DropStmt.xml" url="item/ddlstmt/resource/DropStmt.xml"/>
14.11 + <file name="CreateIndexStmt.xml" url="item/ddlstmt/resource/CreateIndexStmt.xml"/>
14.12 + <file name="DropIndexStmt.xml" url="item/ddlstmt/resource/DropIndexStmt.xml"/>
14.13 + </folder>
14.14 <folder name="Error Handling">
14.15 <file name="ExceptionBlock.xml" url="item/errorhandling/resource/ExceptionBlock.xml"/>
14.16 <file name="ExceptionInit.xml" url="item/errorhandling/resource/ExceptionInit.xml"/>