« Return to Thread: Explorer Mode from NB 6.5 to NB 6.7

Explorer Mode from NB 6.5 to NB 6.7

by Theuns Heydenrych-2 :: Rate this Message:

Reply to Author | View in Thread

HI Marek, thank you for the quick response



As far as i can see there is a TopComponent "projectTabLogical_tc"



The explorer.wsmode look like this:

<?xml version="1.0" encoding="UTF-8"?>



<!DOCTYPE mode PUBLIC

          "-//NetBeans//DTD Mode Properties 2.0//EN"

          "http://www.netbeans.org/dtds/mode-properties2_0.dtd">



<mode version="2.0">

    <module name="org.netbeans.modules.projectui" spec="1.1" />

    <name unique="explorer" />

    <kind type="view" />

    <state type="joined" />

    <constraints>

        <path orientation="horizontal" number="20" weight="0.3" />

        <path orientation="vertical" number="20" weight="0.5" />

    </constraints>

    <relative-bounds x="10" y="24" width="23" height="37" />

    <active-tc id="projectTabLogical_tc"/>

    <empty-behavior permanent="true" />

</mode>



The projectTabLogical_tc.wstcref fie look like this:

<?xml version="1.0" encoding="UTF-8" ?>



<!DOCTYPE tc-ref PUBLIC

          "-//NetBeans//DTD Top Component in Mode Properties 2.0//EN"

          "http://www.netbeans.org/dtds/tc-ref2_0.dtd">



<tc-ref version="2.0">

    <module name="org.netbeans.modules.projectui" spec="1.0" />

    <tc-id id="projectTabLogical_tc" />

    <state opened="true" />

</tc-ref>



Except the  <state opened="true" /> line was "false", i changed it to "true", with the result that projectTabLogical_tcWstcref.xml file was created in one of my module packages.




 « Return to Thread: Explorer Mode from NB 6.5 to NB 6.7