add A11Y action to Tools toolbar
authorJiri Rechtacek <jrechtacek@netbeans.org>
Sun, 28 Jul 2013 12:17:30 +0200
changeset 179968b3894490ba9
parent 17995 e3a4287d053a
child 17997 f47f2a085367
add A11Y action to Tools toolbar
a11y/manifest.mf
a11y/nbproject/project.properties
a11y/src/org/netbeans/modules/a11y/TestIDEWindowA11YAction.java
a11y/src/org/netbeans/modules/a11y/layer.xml
     1.1 --- a/a11y/manifest.mf	Fri Jul 26 14:04:01 2013 +0200
     1.2 +++ b/a11y/manifest.mf	Sun Jul 28 12:17:30 2013 +0200
     1.3 @@ -1,5 +1,6 @@
     1.4  Manifest-Version: 1.0
     1.5  OpenIDE-Module: org.netbeans.modules.a11y/1
     1.6 +OpenIDE-Module-Layer: org/netbeans/modules/a11y/layer.xml
     1.7  OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/a11y/Bundle.properties
     1.8  
     1.9  Name: org/netbeans/modules/a11y/A11yAction.class
     2.1 --- a/a11y/nbproject/project.properties	Fri Jul 26 14:04:01 2013 +0200
     2.2 +++ b/a11y/nbproject/project.properties	Sun Jul 28 12:17:30 2013 +0200
     2.3 @@ -40,4 +40,4 @@
     2.4  javac.compilerargs=-Xlint -Xlint:-serial
     2.5  javac.source=1.6
     2.6  nbm.distribution=http://a11y.netbeans.org/nbms/v2.5/a11y.nbm
     2.7 -spec.version.base=2.6
     2.8 +spec.version.base=2.7
     3.1 --- a/a11y/src/org/netbeans/modules/a11y/TestIDEWindowA11YAction.java	Fri Jul 26 14:04:01 2013 +0200
     3.2 +++ b/a11y/src/org/netbeans/modules/a11y/TestIDEWindowA11YAction.java	Sun Jul 28 12:17:30 2013 +0200
     3.3 @@ -48,6 +48,7 @@
     3.4  
     3.5  import org.netbeans.a11y.tester.UIAccessibilityTester;
     3.6  import org.openide.awt.ActionID;
     3.7 +import org.openide.awt.ActionReference;
     3.8  import org.openide.awt.ActionRegistration;
     3.9  
    3.10  /**
    3.11 @@ -56,6 +57,7 @@
    3.12   */
    3.13  @ActionID(id = "org.netbeans.modules.a11y.TestIDEWindowA11YAction", category = "Tools")
    3.14  @ActionRegistration(lazy = false, displayName = "UI Accessibility Tester - testing IDE")
    3.15 +@ActionReference(path = "Toolbars/Tools", position = 2110)
    3.16  public class TestIDEWindowA11YAction extends NodeAction {
    3.17  
    3.18      //private static final long serialVersionUID = ;
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/a11y/src/org/netbeans/modules/a11y/layer.xml	Sun Jul 28 12:17:30 2013 +0200
     4.3 @@ -0,0 +1,52 @@
     4.4 +<?xml version="1.0" encoding="UTF-8"?>
     4.5 +<!--
     4.6 +  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     4.7 + 
     4.8 +  Copyright 1997-2013 Sun Microsystems, Inc. All rights reserved.
     4.9 + 
    4.10 +  The contents of this file are subject to the terms of either the GNU
    4.11 +  General Public License Version 2 only ("GPL") or the Common
    4.12 +  Development and Distribution License("CDDL") (collectively, the
    4.13 +  "License"). You may not use this file except in compliance with the
    4.14 +  License. You can obtain a copy of the License at
    4.15 +  http://www.netbeans.org/cddl-gplv2.html
    4.16 +  or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
    4.17 +  specific language governing permissions and limitations under the
    4.18 +  License.  When distributing the software, include this License Header
    4.19 +  Notice in each file and include the License file at
    4.20 +  nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
    4.21 +  particular file as subject to the "Classpath" exception as provided
    4.22 +  by Sun in the GPL Version 2 section of the License file that
    4.23 +  accompanied this code. If applicable, add the following below the
    4.24 +  License Header, with the fields enclosed by brackets [] replaced by
    4.25 +  your own identifying information:
    4.26 +  "Portions Copyrighted [year] [name of copyright owner]"
    4.27 + 
    4.28 +  Contributor(s):
    4.29 + 
    4.30 +  The Original Software is NetBeans. The Initial Developer of the Original
    4.31 +  Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    4.32 +  Microsystems, Inc. All Rights Reserved.
    4.33 + 
    4.34 +  If you wish your version of this file to be governed by only the CDDL
    4.35 +  or only the GPL Version 2, indicate your decision by adding
    4.36 +  "[Contributor] elects to include this software in this distribution
    4.37 +  under the [CDDL or GPL Version 2] license." If you do not indicate a
    4.38 +  single choice of license, a recipient has the option to distribute
    4.39 +  your version of this file under either the CDDL, the GPL Version 2 or
    4.40 +  to extend the choice of license to its licensees as provided above.
    4.41 +  However, if you add GPL Version 2 code and therefore, elected the GPL
    4.42 +  Version 2 license, then the option applies only if the new code is
    4.43 +  made subject to such option by the copyright holder.
    4.44 +-->
    4.45 +<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "http://www.netbeans.org/dtds/filesystem-1_2.dtd">
    4.46 +<filesystem>
    4.47 +    <folder name="Toolbars">
    4.48 +        <folder name="Tools">
    4.49 +            <attr name="position" intvalue="185"/> 
    4.50 +            <!-- Functionality needs to be fixed first
    4.51 +            <file name="org-netbeans-modules-a11y-A11yAction.instance" />
    4.52 +            --> 
    4.53 +        </folder>
    4.54 +    </folder>
    4.55 +</filesystem>