directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r568687 [4/4] - in /directory/studio/trunk/studio-apacheds-schemaeditor: resources/schemas/ src/main/java/org/apache/directory/studio/apacheds/schemaeditor/ src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/
Date Wed, 22 Aug 2007 16:26:23 GMT
Added: directory/studio/trunk/studio-apacheds-schemaeditor/resources/schemas/samba.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/resources/schemas/samba.xml?rev=568687&view=auto
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/resources/schemas/samba.xml (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/resources/schemas/samba.xml Wed Aug 22 09:26:18 2007
@@ -0,0 +1,549 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema name="samba">
+   <attributetypes>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.21" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaNextUserRid</alias>
+         </aliases>
+         <description>Next NT rid to give our for users</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.42" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaOptionName</alias>
+         </aliases>
+         <description>Option Name</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.22" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaNextGroupRid</alias>
+         </aliases>
+         <description>Next NT rid to give out for groups</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.40" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaAlgorithmicRidBase</alias>
+         </aliases>
+         <description>Base at which the samba RID generation algorithm should operate</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.28" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaPwdCanChange</alias>
+         </aliases>
+         <description>Timestamp of when the user is allowed to update the password</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.20" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaSID</alias>
+         </aliases>
+         <description>Security ID</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.48" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaBadPasswordCount</alias>
+         </aliases>
+         <description>Bad password attempt count</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.41" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaShareName</alias>
+         </aliases>
+         <description>Share Name</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.24" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaLMPassword</alias>
+         </aliases>
+         <description>LanManager Password</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.23" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaPrimaryGroupSID</alias>
+         </aliases>
+         <description>Primary Group Security ID</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.49" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaBadPasswordTime</alias>
+         </aliases>
+         <description>Time of the last bad password attempt</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.43" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaBoolOption</alias>
+         </aliases>
+         <description>A boolean option</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.7</syntax>
+         <equality>booleanMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.47" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaMungedDial</alias>
+         </aliases>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseExactMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.27" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaPwdLastSet</alias>
+         </aliases>
+         <description>Timestamp of the last password update</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.29" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaPwdMustChange</alias>
+         </aliases>
+         <description>Timestamp of when the password will expire</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.26" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaAcctFlags</alias>
+         </aliases>
+         <description>Account Flags</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.44" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaIntegerOption</alias>
+         </aliases>
+         <description>An integer option</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.46" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaStringListOption</alias>
+         </aliases>
+         <description>A string list option</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.25" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaNTPassword</alias>
+         </aliases>
+         <description>MD4 hash of the unicode password</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.45" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaStringOption</alias>
+         </aliases>
+         <description>A string option</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseExactIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.52" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaPrivilegeList</alias>
+         </aliases>
+         <description>Privileges List</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.33" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaHomeDrive</alias>
+         </aliases>
+         <description>Driver letter of home directory mapping</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.34" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaLogonScript</alias>
+         </aliases>
+         <description>Logon script path</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.50" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaPrivName</alias>
+         </aliases>
+         <superior>name</superior>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.30" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaLogonTime</alias>
+         </aliases>
+         <description>Timestamp of last logon</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.38" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaDomainName</alias>
+         </aliases>
+         <description>Windows NT domain to which the user belongs</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.53" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaTrustFlags</alias>
+         </aliases>
+         <description>Trust Password Flags</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.31" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaLogoffTime</alias>
+         </aliases>
+         <description>Timestamp of last logoff</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.36" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaUserWorkstations</alias>
+         </aliases>
+         <description>List of user workstations the user is allowed to logon to</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.37" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaHomePath</alias>
+         </aliases>
+         <description>Home directory UNC path</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.51" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaSIDList</alias>
+         </aliases>
+         <description>Security ID List</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.39" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaNextRid</alias>
+         </aliases>
+         <description>Next NT rid to give out for anything</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.55" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaLogonHours</alias>
+         </aliases>
+         <description>Logon Hours</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.54" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaPasswordHistory</alias>
+         </aliases>
+         <description>Concatenated MD4 hashes of the unicode passwords used on this account</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+         <equality>caseIgnoreIA5Match</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.19" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaGroupType</alias>
+         </aliases>
+         <description>NT Group Type</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.32" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaKickoffTime</alias>
+         </aliases>
+         <description>Timestamp of when the user will be logged off automatically</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+         <equality>integerMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.7165.2.1.35" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>sambaProfilePath</alias>
+         </aliases>
+         <description>Roaming profile path</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+      </attributetype>
+   </attributetypes>
+   <objectclasses>
+      <objectclass oid="1.3.6.1.4.1.7165.2.2.8" obsolete="false">
+         <aliases>
+            <alias>sambaIdmapEntry</alias>
+         </aliases>
+         <description>Mapping from a SID to an ID</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <mandatory>
+            <attributetype>sambaSID</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>uidNumber</attributetype>
+            <attributetype>gidNumber</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.7165.2.2.9" obsolete="false">
+         <aliases>
+            <alias>sambaSidEntry</alias>
+         </aliases>
+         <description>Structural Class for a SID</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>sambaSID</attributetype>
+         </mandatory>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.7165.2.2.11" obsolete="false">
+         <aliases>
+            <alias>sambaShare</alias>
+         </aliases>
+         <description>Samba Share Section</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>sambaShareName</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.7165.1.2.2.10" obsolete="false">
+         <aliases>
+            <alias>sambaConfig</alias>
+         </aliases>
+         <description>Samba Configuration Section</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <optional>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.7165.2.2.13" obsolete="false">
+         <aliases>
+            <alias>sambaPrivilege</alias>
+         </aliases>
+         <description>Samba Privilege</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <mandatory>
+            <attributetype>sambaSID</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>sambaPrivilegeList</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.7165.2.2.4" obsolete="false">
+         <aliases>
+            <alias>sambaGroupMapping</alias>
+         </aliases>
+         <description>Samba Group Mapping</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <mandatory>
+            <attributetype>gidNumber</attributetype>
+            <attributetype>sambaSID</attributetype>
+            <attributetype>sambaGroupType</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>displayName</attributetype>
+            <attributetype>description</attributetype>
+            <attributetype>sambaSIDList</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.7165.2.2.12" obsolete="false">
+         <aliases>
+            <alias>sambaConfigOption</alias>
+         </aliases>
+         <description>Samba Configuration Option</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>sambaOptionName</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>sambaBoolOption</attributetype>
+            <attributetype>sambaIntegerOption</attributetype>
+            <attributetype>sambaStringOption</attributetype>
+            <attributetype>sambaStringListOption</attributetype>
+            <attributetype>description</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.7165.2.2.6" obsolete="false">
+         <aliases>
+            <alias>sambaSamAccount</alias>
+         </aliases>
+         <description>Samba 3.0 Auxilary SAM Account</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <mandatory>
+            <attributetype>uid</attributetype>
+            <attributetype>sambaSID</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>cn</attributetype>
+            <attributetype>sambaLMPassword</attributetype>
+            <attributetype>sambaNTPassword</attributetype>
+            <attributetype>sambaPwdLastSet</attributetype>
+            <attributetype>sambaLogonTime</attributetype>
+            <attributetype>sambaLogoffTime</attributetype>
+            <attributetype>sambaKickoffTime</attributetype>
+            <attributetype>sambaPwdCanChange</attributetype>
+            <attributetype>sambaPwdMustChange</attributetype>
+            <attributetype>sambaAcctFlags</attributetype>
+            <attributetype>displayName</attributetype>
+            <attributetype>sambaHomePath</attributetype>
+            <attributetype>sambaHomeDrive</attributetype>
+            <attributetype>sambaLogonScript</attributetype>
+            <attributetype>sambaProfilePath</attributetype>
+            <attributetype>description</attributetype>
+            <attributetype>sambaUserWorkstations</attributetype>
+            <attributetype>sambaPrimaryGroupSID</attributetype>
+            <attributetype>sambaDomainName</attributetype>
+            <attributetype>sambaMungedDial</attributetype>
+            <attributetype>sambaBadPasswordCount</attributetype>
+            <attributetype>sambaBadPasswordTime</attributetype>
+            <attributetype>sambaPasswordHistory</attributetype>
+            <attributetype>sambaLogonHours</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.7165.2.2.14" obsolete="false">
+         <aliases>
+            <alias>sambaTrustPassword</alias>
+         </aliases>
+         <description>Samba Trust Password</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>sambaDomainName</attributetype>
+            <attributetype>sambaNTPassword</attributetype>
+            <attributetype>sambaTrustFlags</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>sambaSID</attributetype>
+            <attributetype>sambaPwdLastSet</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.7165.2.2.5" obsolete="false">
+         <aliases>
+            <alias>sambaDomain</alias>
+         </aliases>
+         <description>Samba Domain Information</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>sambaDomainName</attributetype>
+            <attributetype>sambaSID</attributetype>
+         </mandatory>
+         <optional>
+            <attributetype>sambaNextRid</attributetype>
+            <attributetype>sambaNextGroupRid</attributetype>
+            <attributetype>sambaNextUserRid</attributetype>
+            <attributetype>sambaAlgorithmicRidBase</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.7165.2.2.7" obsolete="false">
+         <aliases>
+            <alias>sambaUnixIdPool</alias>
+         </aliases>
+         <description>Pool for allocating UNIX uids/gids</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+         <mandatory>
+            <attributetype>uidNumber</attributetype>
+            <attributetype>gidNumber</attributetype>
+         </mandatory>
+      </objectclass>
+   </objectclasses>
+</schema>
\ No newline at end of file

Added: directory/studio/trunk/studio-apacheds-schemaeditor/resources/schemas/system.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/resources/schemas/system.xml?rev=568687&view=auto
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/resources/schemas/system.xml (added)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/resources/schemas/system.xml Wed Aug 22 09:26:18 2007
@@ -0,0 +1,932 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema name="system">
+   <attributetypes>
+      <attributetype oid="2.5.18.4" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
+         <aliases>
+            <alias>modifiersName</alias>
+         </aliases>
+         <description>RFC2252: name of last modifier</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.12</syntax>
+         <equality>distinguishedNameMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.1466.101.119.4" obsolete="false" singlevalue="false" collective="false" nousermodification="true">
+         <aliases>
+            <alias>dynamicSubtrees</alias>
+         </aliases>
+         <description>RFC2589: dynamic subtrees</description>
+         <usage>DSA_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.12</syntax>
+      </attributetype>
+      <attributetype oid="2.5.18.6" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>subtreeSpecification</alias>
+         </aliases>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.45</syntax>
+      </attributetype>
+      <attributetype oid="2.5.18.5" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>administrativeRole</alias>
+         </aliases>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.38</syntax>
+         <equality>objectIdentifierMatch</equality>
+      </attributetype>
+      <attributetype oid="2.16.840.1.113730.3.1.34" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>ref</alias>
+         </aliases>
+         <description>namedref: subordinate referral URL</description>
+         <usage>DISTRIBUTED_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseExactMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.1466.101.120.14" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>supportedSASLMechanisms</alias>
+         </aliases>
+         <description>RFC2252: supported SASL mechanisms</description>
+         <usage>DSA_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.5" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
+         <aliases>
+            <alias>vendorVersion</alias>
+         </aliases>
+         <description>RFC3045: version of implementation</description>
+         <usage>DSA_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseExactMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.1466.101.120.15" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>supportedLDAPVersion</alias>
+         </aliases>
+         <description>RFC2252: supported LDAP versions</description>
+         <usage>DSA_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+      </attributetype>
+      <attributetype oid="1.3.6.1.1.4" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
+         <aliases>
+            <alias>vendorName</alias>
+         </aliases>
+         <description>RFC3045: name of implementation vendor</description>
+         <usage>DSA_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseExactMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.1466.101.120.13" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>supportedControl</alias>
+         </aliases>
+         <description>RFC2252: supported controls</description>
+         <usage>DSA_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.38</syntax>
+      </attributetype>
+      <attributetype oid="2.5.21.8" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>matchingRuleUse</alias>
+         </aliases>
+         <description>RFC2252: matching rule uses</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.31</syntax>
+         <equality>objectIdentifierFirstComponentMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.1466.101.120.16" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>ldapSyntaxes</alias>
+         </aliases>
+         <description>RFC2252: LDAP syntaxes</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.54</syntax>
+         <equality>objectIdentifierFirstComponentMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.4203.1.3.5" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>supportedFeatures</alias>
+         </aliases>
+         <usage>DSA_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.38</syntax>
+         <equality>objectIdentifierMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.4.35" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>userPassword</alias>
+         </aliases>
+         <description>RFC2256/2307: password of user</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.40</syntax>
+         <equality>octetStringMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.18.12" obsolete="false" singlevalue="false" collective="false" nousermodification="true">
+         <aliases>
+            <alias>collectiveAttributeSubentries</alias>
+         </aliases>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.12</syntax>
+         <equality>distinguishedNameMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.4.41" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>name</alias>
+         </aliases>
+         <description>RFC2256: common supertype of name attributes</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="2.5.18.10" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
+         <aliases>
+            <alias>subschemaSubentry</alias>
+         </aliases>
+         <description>RFC2252: name of controlling subschema entry</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.12</syntax>
+         <equality>distinguishedNameMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.1466.101.120.5" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>namingContexts</alias>
+         </aliases>
+         <description>RFC2252: naming contexts</description>
+         <usage>DSA_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.12</syntax>
+      </attributetype>
+      <attributetype oid="2.5.18.2" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
+         <aliases>
+            <alias>modifyTimestamp</alias>
+         </aliases>
+         <description>RFC2252: time which object was last modified</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.24</syntax>
+         <equality>generalizedTimeMatch</equality>
+         <ordering>generalizedTimeOrderingMatch</ordering>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.1466.101.120.6" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>altServer</alias>
+         </aliases>
+         <description>RFC2252: alternative servers</description>
+         <usage>DSA_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.26</syntax>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.1466.101.120.7" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>supportedExtension</alias>
+         </aliases>
+         <description>RFC2252: supported extended operations</description>
+         <usage>DSA_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.38</syntax>
+      </attributetype>
+      <attributetype oid="2.5.18.1" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
+         <aliases>
+            <alias>createTimestamp</alias>
+         </aliases>
+         <description>RFC2252: time which object was created</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.24</syntax>
+         <equality>generalizedTimeMatch</equality>
+         <ordering>generalizedTimeOrderingMatch</ordering>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.250.1.57" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>labeledURI</alias>
+         </aliases>
+         <description>RFC2079: Uniform Resource Identifier with optional label</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseExactMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.4.49" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>distinguishedName</alias>
+         </aliases>
+         <description>RFC2256: common supertype of DN attributes</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.12</syntax>
+         <equality>distinguishedNameMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.21.2" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>dITContentRules</alias>
+         </aliases>
+         <description>RFC2252: DIT content rules</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.16</syntax>
+         <equality>objectIdentifierFirstComponentMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.21.4" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>matchingRules</alias>
+         </aliases>
+         <description>RFC2252: matching rules</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.30</syntax>
+         <equality>objectIdentifierFirstComponentMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.18.9" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
+         <aliases>
+            <alias>hasSubordinates</alias>
+         </aliases>
+         <description>X.501: entry has children</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.7</syntax>
+         <equality>booleanMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.21.7" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>nameForms</alias>
+         </aliases>
+         <description>RFC2252: name forms </description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.35</syntax>
+         <equality>objectIdentifierFirstComponentMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.18.7" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>collectiveExclusions</alias>
+         </aliases>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.38</syntax>
+         <equality>objectIdentifierMatch</equality>
+      </attributetype>
+      <attributetype oid="1.3.6.1.4.1.1466.101.119.3" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
+         <aliases>
+            <alias>entryTtl</alias>
+         </aliases>
+         <description>RFC2589: entry time-to-live</description>
+         <usage>DSA_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.27</syntax>
+      </attributetype>
+      <attributetype oid="2.5.21.9" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
+         <aliases>
+            <alias>structuralObjectClass</alias>
+         </aliases>
+         <description>X.500(93): structural object class of entry</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.38</syntax>
+         <equality>objectIdentifierMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.4.3" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>cn</alias>
+            <alias>commonName</alias>
+         </aliases>
+         <description>RFC2256: common name(s) for which the entity is known by</description>
+         <superior>name</superior>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.15</syntax>
+         <equality>caseIgnoreMatch</equality>
+         <substring>caseIgnoreSubstringsMatch</substring>
+      </attributetype>
+      <attributetype oid="2.5.21.5" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>attributeTypes</alias>
+         </aliases>
+         <description>RFC2252: attribute types</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.3</syntax>
+         <equality>objectIdentifierFirstComponentMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.21.1" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>dITStructureRules</alias>
+         </aliases>
+         <description>RFC2252: DIT structure rules</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.17</syntax>
+         <equality>integerFirstComponentMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.4.1" obsolete="false" singlevalue="true" collective="false" nousermodification="false">
+         <aliases>
+            <alias>aliasedObjectName</alias>
+            <alias>aliasedEntryName</alias>
+         </aliases>
+         <description>RFC2256: name of aliased object</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.12</syntax>
+         <equality>distinguishedNameMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.4.0" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>objectClass</alias>
+         </aliases>
+         <description>RFC2256: object classes of the entity</description>
+         <usage>USER_APPLICATIONS</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.38</syntax>
+         <equality>objectIdentifierMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.18.3" obsolete="false" singlevalue="true" collective="false" nousermodification="true">
+         <aliases>
+            <alias>creatorsName</alias>
+         </aliases>
+         <description>RFC2252: name of creator</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.12</syntax>
+         <equality>distinguishedNameMatch</equality>
+      </attributetype>
+      <attributetype oid="2.5.21.6" obsolete="false" singlevalue="false" collective="false" nousermodification="false">
+         <aliases>
+            <alias>objectClasses</alias>
+         </aliases>
+         <description>RFC2252: object classes</description>
+         <usage>DIRECTORY_OPERATION</usage>
+         <syntax>1.3.6.1.4.1.1466.115.121.1.37</syntax>
+         <equality>objectIdentifierFirstComponentMatch</equality>
+      </attributetype>
+   </attributetypes>
+   <objectclasses>
+      <objectclass oid="1.3.6.1.4.1.1466.101.120.111" obsolete="false">
+         <aliases>
+            <alias>extensibleObject</alias>
+         </aliases>
+         <description>RFC2252: extensible object</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+      </objectclass>
+      <objectclass oid="2.5.20.1" obsolete="false">
+         <aliases>
+            <alias>subschema</alias>
+         </aliases>
+         <description>RFC2252: controlling subschema (sub)entry</description>
+         <type>AUXILIARY</type>
+         <optional>
+            <attributetype>dITStructureRules</attributetype>
+            <attributetype>nameForms</attributetype>
+            <attributetype>dITContentRules</attributetype>
+            <attributetype>objectClasses</attributetype>
+            <attributetype>attributeTypes</attributetype>
+            <attributetype>matchingRules</attributetype>
+            <attributetype>matchingRuleUse</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.4203.1.4.1" obsolete="false">
+         <aliases>
+            <alias>OpenLDAProotDSE</alias>
+            <alias>LDAProotDSE</alias>
+         </aliases>
+         <description>OpenLDAP Root DSE object</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <optional>
+            <attributetype>cn</attributetype>
+         </optional>
+      </objectclass>
+      <objectclass oid="2.5.6.1" obsolete="false">
+         <aliases>
+            <alias>alias</alias>
+         </aliases>
+         <description>RFC2256: an alias</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>aliasedObjectName</attributetype>
+         </mandatory>
+      </objectclass>
+      <objectclass oid="2.5.17.0" obsolete="false">
+         <aliases>
+            <alias>subentry</alias>
+         </aliases>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>cn</attributetype>
+            <attributetype>subtreeSpecification</attributetype>
+         </mandatory>
+      </objectclass>
+      <objectclass oid="2.5.17.2" obsolete="false">
+         <aliases>
+            <alias>collectiveAttributeSubentry</alias>
+         </aliases>
+         <type>AUXILIARY</type>
+      </objectclass>
+      <objectclass oid="1.3.6.1.4.1.1466.101.119.2" obsolete="false">
+         <aliases>
+            <alias>dynamicObject</alias>
+         </aliases>
+         <description>RFC2589: Dynamic Object</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>AUXILIARY</type>
+      </objectclass>
+      <objectclass oid="2.5.6.0" obsolete="false">
+         <aliases>
+            <alias>top</alias>
+         </aliases>
+         <description>top of the superclass chain</description>
+         <type>ABSTRACT</type>
+         <mandatory>
+            <attributetype>objectClass</attributetype>
+         </mandatory>
+      </objectclass>
+      <objectclass oid="2.16.840.1.113730.3.2.6" obsolete="false">
+         <aliases>
+            <alias>referral</alias>
+         </aliases>
+         <description>namedref: named subordinate referral</description>
+         <superiors>
+            <superior>top</superior>
+         </superiors>
+         <type>STRUCTURAL</type>
+         <mandatory>
+            <attributetype>ref</attributetype>
+         </mandatory>
+      </objectclass>
+   </objectclasses>
+   <matchingrules>
+      <matchingrule oid="2.5.13.14" obsolete="false">
+         <aliases>
+            <alias>integerMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.27</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.3" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.15</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.31" obsolete="false">
+         <aliases>
+            <alias>directoryStringFirstComponentMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.15</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.3.6.1.4.1.1466.109.114.3" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreIA5SubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.58</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.4" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreSubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.58</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.3.6.1.4.1.1466.109.114.2" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreIA5Match</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.26</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.12" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreListSubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.58</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.27" obsolete="false">
+         <aliases>
+            <alias>generalizedTimeMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.24</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.8" obsolete="false">
+         <aliases>
+            <alias>numericStringMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.36</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.1" obsolete="false">
+         <aliases>
+            <alias>distinguishedNameMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.12</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.22" obsolete="false">
+         <aliases>
+            <alias>presentationAddressMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.43</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.11" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreListMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.41</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.13" obsolete="false">
+         <aliases>
+            <alias>booleanMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.7</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.24" obsolete="false">
+         <aliases>
+            <alias>protocolInformationMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.42</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.6" obsolete="false">
+         <aliases>
+            <alias>caseExactOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.15</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="1.3.6.1.4.1.1466.109.114.1" obsolete="false">
+         <aliases>
+            <alias>caseExactIA5Match</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.26</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.0" obsolete="false">
+         <aliases>
+            <alias>objectIdentifierMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.38</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.29" obsolete="false">
+         <aliases>
+            <alias>integerFirstComponentMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.27</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.10" obsolete="false">
+         <aliases>
+            <alias>numericStringSubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.58</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.7" obsolete="false">
+         <aliases>
+            <alias>caseExactSubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.58</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.20" obsolete="false">
+         <aliases>
+            <alias>telephoneNumberMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.50</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.18" obsolete="false">
+         <aliases>
+            <alias>octetStringOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.40</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.15" obsolete="false">
+         <aliases>
+            <alias>integerOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.27</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.23" obsolete="false">
+         <aliases>
+            <alias>uniqueMemberMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.34</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.16" obsolete="false">
+         <aliases>
+            <alias>bitStringMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.6</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.30" obsolete="false">
+         <aliases>
+            <alias>objectIdentifierFirstComponentMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.38</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.5" obsolete="false">
+         <aliases>
+            <alias>caseExactMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.15</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.17" obsolete="false">
+         <aliases>
+            <alias>octetStringMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.40</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.28" obsolete="false">
+         <aliases>
+            <alias>generalizedTimeOrderingMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.24</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.21" obsolete="false">
+         <aliases>
+            <alias>telephoneNumberSubstringsMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.58</syntaxoid>
+      </matchingrule>
+      <matchingrule oid="2.5.13.2" obsolete="false">
+         <aliases>
+            <alias>caseIgnoreMatch</alias>
+         </aliases>
+         <syntaxoid>1.3.6.1.4.1.1466.115.121.1.15</syntaxoid>
+      </matchingrule>
+   </matchingrules>
+   <syntaxes>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.48" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Supplier And Consumer</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.55" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Modify Rights</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.11" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Country String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.49" obsolete="false" humanreadible="false">
+         <aliases>
+            <alias>Supported Algorithm</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.38" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>OID</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.13" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Data Quality Syntax</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.57" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>LDAP BootstrapSchema Description</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.35" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Name Form Description</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.21" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Enhanced Guide</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.52" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Telex Number</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.1" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>ACI Item</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.43" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Presentation Address</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.59" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Trigger Specification</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.22" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Facsimile Telephone Number</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.3" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Attribute Type Description</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.37" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Object Class Description</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.44" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Printable String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.15" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Directory String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.56" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>LDAP BootstrapSchema Definition</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.12" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>DN</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.45" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Subtree Specification</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.23" obsolete="false" humanreadible="false">
+         <aliases>
+            <alias>Fax</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.2" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Access Point</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.34" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Name And Optional UID</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.8" obsolete="false" humanreadible="false">
+         <aliases>
+            <alias>Certificate</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.53" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>UTC Time</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.42" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Protocol Information</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.47" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Supplier Or Consumer</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.19" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>DSA Quality Syntax</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.32" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Mail Preference</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.41" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Postal Address</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.33" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>MHS OR Address</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.26" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>IA5 String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.40" obsolete="false" humanreadible="false">
+         <aliases>
+            <alias>Octet String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.6" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Bit String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.16" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>DIT Content Rule Description</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.39" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Other Mailbox</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.17" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>DIT Structure Rule Description</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.7" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Boolean</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.27" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>INTEGER</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.24" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Generalized Time</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.46" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Supplier Information</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.4" obsolete="false" humanreadible="false">
+         <aliases>
+            <alias>Audio</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.58" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Substring Assertion</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.9" obsolete="false" humanreadible="false">
+         <aliases>
+            <alias>Certificate List</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.30" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Matching Rule Description</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.36" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Numeric String</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.14" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Delivery Method</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.51" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Teletex Terminal Identifier</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.18" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>DL Submit Permission</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.28" obsolete="false" humanreadible="false">
+         <aliases>
+            <alias>JPEG</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.50" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Telephone Number</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.29" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Master And Shadow Access Points</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.20" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>DSE Type</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.5" obsolete="false" humanreadible="false">
+         <aliases>
+            <alias>Binary</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.10" obsolete="false" humanreadible="false">
+         <aliases>
+            <alias>Certificate Pair</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.31" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Matching Rule Use Description</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.25" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>Guide</alias>
+         </aliases>
+      </syntax>
+      <syntax oid="1.3.6.1.4.1.1466.115.121.1.54" obsolete="false" humanreadible="true">
+         <aliases>
+            <alias>LDAP Syntax Description</alias>
+         </aliases>
+      </syntax>
+   </syntaxes>
+</schema>
\ No newline at end of file

Modified: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/PluginUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/PluginUtils.java?rev=568687&r1=568686&r2=568687&view=diff
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/PluginUtils.java (original)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/PluginUtils.java Wed Aug 22 09:26:18 2007
@@ -24,15 +24,20 @@
 import java.io.File;
 import java.io.FileWriter;
 import java.io.IOException;
+import java.net.URL;
 
 import org.apache.directory.studio.apacheds.schemaeditor.controller.ProjectsHandler;
 import org.apache.directory.studio.apacheds.schemaeditor.model.AttributeTypeImpl;
 import org.apache.directory.studio.apacheds.schemaeditor.model.ObjectClassImpl;
 import org.apache.directory.studio.apacheds.schemaeditor.model.Project;
+import org.apache.directory.studio.apacheds.schemaeditor.model.Schema;
 import org.apache.directory.studio.apacheds.schemaeditor.model.io.ProjectsExporter;
 import org.apache.directory.studio.apacheds.schemaeditor.model.io.ProjectsImportException;
 import org.apache.directory.studio.apacheds.schemaeditor.model.io.ProjectsImporter;
+import org.apache.directory.studio.apacheds.schemaeditor.model.io.XMLSchemaFileImportException;
+import org.apache.directory.studio.apacheds.schemaeditor.model.io.XMLSchemaFileImporter;
 import org.apache.directory.studio.apacheds.schemaeditor.view.ViewUtils;
+import org.eclipse.core.runtime.Platform;
 import org.eclipse.core.runtime.Status;
 
 
@@ -206,5 +211,44 @@
         Activator.getDefault().getLog().log(
             new Status( Status.WARNING, Activator.getDefault().getBundle().getSymbolicName(), Status.OK, message,
                 exception ) );
+    }
+
+
+    /**
+     * Loads the 'core' corresponding to the given name.
+     *
+     * @param schemaName
+     *      the name of the 'core' schema
+     * @return
+     *      the corresponding schema, or null if no schema has been found
+     */
+    public static Schema loadCoreSchema( String schemaName )
+    {
+        Schema schema = null;
+
+        try
+        {
+            URL url = Platform.getBundle( Activator.PLUGIN_ID )
+                .getResource( "resources/schemas/" + schemaName + ".xml" );
+
+            if ( url == null )
+            {
+                PluginUtils.logError( "An error occured when loading the schema " + schemaName + ".", null );
+                ViewUtils.displayErrorMessageBox( "Projects Saving Error", "An error occured when loading the schema "
+                    + schemaName + "." );
+            }
+            else
+            {
+                schema = XMLSchemaFileImporter.getSchema( url.toString() );
+            }
+        }
+        catch ( XMLSchemaFileImportException e )
+        {
+            PluginUtils.logError( "An error occured when loading the schema " + schemaName + ".", e );
+            ViewUtils.displayErrorMessageBox( "Projects Saving Error", "An error occured when loading the schema "
+                + schemaName + "." );
+        }
+
+        return schema;
     }
 }

Modified: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewProjectWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewProjectWizard.java?rev=568687&r1=568686&r2=568687&view=diff
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewProjectWizard.java (original)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewProjectWizard.java Wed Aug 22 09:26:18 2007
@@ -21,8 +21,10 @@
 
 
 import org.apache.directory.studio.apacheds.schemaeditor.Activator;
+import org.apache.directory.studio.apacheds.schemaeditor.PluginUtils;
 import org.apache.directory.studio.apacheds.schemaeditor.controller.ProjectsHandler;
 import org.apache.directory.studio.apacheds.schemaeditor.model.Project;
+import org.apache.directory.studio.apacheds.schemaeditor.model.Schema;
 import org.apache.directory.studio.apacheds.schemaeditor.model.Project.ProjectType;
 import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.jface.wizard.IWizardPage;
@@ -70,6 +72,26 @@
     public boolean performFinish()
     {
         Project project = new Project( informationPage.getProjectType(), informationPage.getProjectName() );
+        if ( informationPage.getProjectType().equals( ProjectType.APACHE_DIRECTORY_SERVER ) )
+        {
+            // TODO: Add connection information.
+        }
+        else if ( informationPage.getProjectType().equals( ProjectType.OFFLINE ) )
+        {
+            String[] selectedSchemas = schemasSelectionPage.getSelectedSchemas();
+            if ( selectedSchemas != null )
+            {
+                for ( String selectedSchema : selectedSchemas )
+                {
+                    Schema schema = PluginUtils.loadCoreSchema( selectedSchema );
+                    if ( schema != null )
+                    {
+                        project.getSchemaHandler().addSchema( schema );
+                    }
+                }
+            }
+        }
+
         ProjectsHandler projectsHandler = Activator.getDefault().getProjectsHandler();
         projectsHandler.addProject( project );
         projectsHandler.openProject( project );

Modified: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewProjectWizardSchemasSelectionPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewProjectWizardSchemasSelectionPage.java?rev=568687&r1=568686&r2=568687&view=diff
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewProjectWizardSchemasSelectionPage.java (original)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/view/wizards/NewProjectWizardSchemasSelectionPage.java Wed Aug 22 09:26:18 2007
@@ -20,6 +20,8 @@
 package org.apache.directory.studio.apacheds.schemaeditor.view.wizards;
 
 
+import java.util.Arrays;
+
 import org.apache.directory.studio.apacheds.schemaeditor.Activator;
 import org.apache.directory.studio.apacheds.schemaeditor.PluginConstants;
 import org.eclipse.jface.viewers.ArrayContentProvider;
@@ -27,9 +29,12 @@
 import org.eclipse.jface.viewers.LabelProvider;
 import org.eclipse.jface.wizard.WizardPage;
 import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
 import org.eclipse.swt.graphics.Image;
 import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Label;
 import org.eclipse.swt.widgets.Table;
@@ -69,15 +74,18 @@
     public void createControl( Composite parent )
     {
         Composite composite = new Composite( parent, SWT.NONE );
-        composite.setLayout( new GridLayout() );
+        composite.setLayout( new GridLayout( 2, false ) );
+        composite.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
 
         // Core Schemas TableViewer
         Label label = new Label( composite, SWT.NONE );
         label.setText( "Choose the 'core' schemas to include in the project:" );
-        label.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
+        label.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
         coreSchemasTableViewer = new CheckboxTableViewer( new Table( composite, SWT.BORDER | SWT.CHECK
             | SWT.FULL_SELECTION ) );
-        coreSchemasTableViewer.getTable().setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
+        GridData gridData = new GridData( SWT.FILL, SWT.NONE, true, false, 1, 2 );
+        gridData.heightHint = 160;
+        coreSchemasTableViewer.getTable().setLayoutData( gridData );
         coreSchemasTableViewer.setContentProvider( new ArrayContentProvider() );
         coreSchemasTableViewer.setLabelProvider( new LabelProvider()
         {
@@ -88,6 +96,28 @@
             }
         } );
 
+        Button coreSchemasTableSelectAllButton = new Button( composite, SWT.PUSH );
+        coreSchemasTableSelectAllButton.setText( "Select All" );
+        coreSchemasTableSelectAllButton.setLayoutData( new GridData( SWT.FILL, SWT.BEGINNING, false, false ) );
+        coreSchemasTableSelectAllButton.addSelectionListener( new SelectionAdapter()
+        {
+            public void widgetSelected( SelectionEvent e )
+            {
+                coreSchemasTableViewer.setAllChecked( true );
+            }
+        } );
+
+        Button coreSchemasTableDeselectAllButton = new Button( composite, SWT.PUSH );
+        coreSchemasTableDeselectAllButton.setText( "Deselect All" );
+        coreSchemasTableDeselectAllButton.setLayoutData( new GridData( SWT.FILL, SWT.BEGINNING, false, false ) );
+        coreSchemasTableDeselectAllButton.addSelectionListener( new SelectionAdapter()
+        {
+            public void widgetSelected( SelectionEvent e )
+            {
+                coreSchemasTableViewer.setAllChecked( false );
+            }
+        } );
+
         initFields();
 
         setControl( composite );
@@ -100,7 +130,8 @@
     private void initFields()
     {
         coreSchemasTableViewer.setInput( new String[]
-            { "core", "mozilla", "system" } );
+            { "apache", "apachedns", "apachemeta", "autofs", "collective", "corba", "core", "cosine", "dhcp",
+                "inetorgperson", "java", "krb5kdc", "mozilla", "nis", "samba", "system" } );
     }
 
 
@@ -112,6 +143,6 @@
      */
     public String[] getSelectedSchemas()
     {
-        return ( String[] ) coreSchemasTableViewer.getCheckedElements();
+        return Arrays.asList( coreSchemasTableViewer.getCheckedElements() ).toArray( new String[0] );
     }
 }



Mime
View raw message