platform/samples/window-system-groups/src/org/netbeans/modules/examplemodule03/mf-layer.xml
author Tomas Mysik <tmysik@netbeans.org>
Mon, 12 Jun 2017 09:13:11 +0200
changeset 6391 640ddcff4333
parent 1779 5200163245c9
permissions -rw-r--r--
Return blacklisted methods back

No blacklisted methods right now but keep the code for possible future usage.
jglick@1688
     1
<?xml version="1.0" encoding="UTF-8"?>
jglick@1688
     2
<!--
mzlamal@2561
     3
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
jglick@1688
     4
mzlamal@2561
     5
Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
jglick@1688
     6
mzlamal@2561
     7
mzlamal@2561
     8
The contents of this file are subject to the terms of either the GNU
mzlamal@2561
     9
General Public License Version 2 only ("GPL") or the Common
mzlamal@2561
    10
Development and Distribution License("CDDL") (collectively, the
mzlamal@2561
    11
"License"). You may not use this file except in compliance with the
mzlamal@2561
    12
License. You can obtain a copy of the License at
mzlamal@2561
    13
http://www.netbeans.org/cddl-gplv2.html
mzlamal@2561
    14
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
mzlamal@2561
    15
specific language governing permissions and limitations under the
mzlamal@2561
    16
License.  When distributing the software, include this License Header
mzlamal@2561
    17
Notice in each file and include the License file at
mzlamal@2561
    18
nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
mzlamal@2561
    19
particular file as subject to the "Classpath" exception as provided
mzlamal@2561
    20
by Sun in the GPL Version 2 section of the License file that
mzlamal@2561
    21
accompanied this code. If applicable, add the following below the
mzlamal@2561
    22
License Header, with the fields enclosed by brackets [] replaced by
mzlamal@2561
    23
your own identifying information:
jtulach@1779
    24
"Portions Copyrighted [year] [name of copyright owner]"
jtulach@1779
    25
mzlamal@2561
    26
Contributor(s):
mzlamal@2561
    27
jtulach@1779
    28
The Original Software is NetBeans. The Initial Developer of the Original
jtulach@1779
    29
Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
jglick@1688
    30
Microsystems, Inc. All Rights Reserved.
mzlamal@2561
    31
mzlamal@2561
    32
If you wish your version of this file to be governed by only the CDDL
mzlamal@2561
    33
or only the GPL Version 2, indicate your decision by adding
mzlamal@2561
    34
"[Contributor] elects to include this software in this distribution
mzlamal@2561
    35
under the [CDDL or GPL Version 2] license." If you do not indicate a
mzlamal@2561
    36
single choice of license, a recipient has the option to distribute
mzlamal@2561
    37
your version of this file under either the CDDL, the GPL Version 2 or
mzlamal@2561
    38
to extend the choice of license to its licensees as provided above.
mzlamal@2561
    39
However, if you add GPL Version 2 code and therefore, elected the GPL
mzlamal@2561
    40
Version 2 license, then the option applies only if the new code is
mzlamal@2561
    41
made subject to such option by the copyright holder.
jglick@1688
    42
-->
jglick@1688
    43
jglick@1688
    44
<!DOCTYPE filesystem PUBLIC '-//NetBeans//DTD Filesystem 1.1//EN' 'http://www.netbeans.org/dtds/filesystem-1_1.dtd'>
jglick@1688
    45
jglick@1688
    46
<filesystem>
jglick@1688
    47
    <folder name="Actions" >
jglick@1688
    48
        <folder name="Window">
jglick@1688
    49
            <file name="org-netbeans-modules-examplemodule03-ShowGroupAction.instance"/>
jglick@1688
    50
            <file name="org-netbeans-modules-examplemodule03-HideGroupAction.instance"/>
jglick@1688
    51
        </folder>
jglick@1688
    52
    </folder>
jglick@1688
    53
    <!-- Menu item -->
jglick@1688
    54
    <folder name="Menu">
jglick@1688
    55
        <folder name="Window">
jglick@1688
    56
            <file name="ShowGroupAction.shadow">
jglick@1688
    57
                <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-modules-examplemodule03-ShowGroupAction.instance"/>
jglick@1688
    58
            </file>
jglick@1688
    59
            <file name="HideGroupAction.shadow">
jglick@1688
    60
                <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-modules-examplemodule03-HideGroupAction.instance"/>
jglick@1688
    61
            </file>
jglick@1688
    62
            <!-- Position of menu item in Window menu is not defined. It is good idea
jglick@1688
    63
                 to defined its position relative to other menu items using attribute
jglick@1688
    64
                 example from core-ui module:
jglick@1688
    65
                 <attr name="org-netbeans-core-actions-NewTemplateCallableAction.instance/Separator1.instance" boolvalue="true" />
jglick@1688
    66
                 You must know names of other items so you must check layer of other modules
jglick@1688
    67
                 in IDE or application.  -->
jglick@1688
    68
        </folder>
jglick@1688
    69
    </folder>
jglick@1688
    70
jglick@1688
    71
    <!-- Window system configuration --> 
jglick@1688
    72
    <folder name="Windows2">
jglick@1688
    73
        <folder name="Modes">
jglick@1688
    74
            <folder name="explorer">
jglick@1688
    75
                <file name="test03tc00.wstcref" url="modes/explorer/test03tc00.wstcref" />
jglick@1688
    76
            </folder>
jglick@1688
    77
        </folder>
jglick@1688
    78
jglick@1688
    79
        <folder name="Groups">
jglick@1688
    80
            <file name="testgroup.wsgrp" url="groups/testgroup.wsgrp" />
jglick@1688
    81
            <folder name="testgroup">
jglick@1688
    82
                <file name="test03tc00.wstcgrp" url="groups/testgroup/test03tc00.wstcgrp" />
jglick@1688
    83
            </folder>
jglick@1688
    84
        </folder>
jglick@1688
    85
jglick@1688
    86
        <folder name="Components">
jglick@1688
    87
            <file name="test03tc00.settings" url="components/test03tc00.settings" />
jglick@1688
    88
        </folder>
jglick@1688
    89
    </folder>   
jglick@1688
    90
   
jglick@1688
    91
</filesystem>
jglick@1688
    92