Package org.apache.directory.ldapstudio.schemas.model

Examples of org.apache.directory.ldapstudio.schemas.model.Schema


                if ( selection instanceof SchemaWrapper )
                {
                    manager.add( openLocalFile );
                    manager.add( new Separator() );
                    Schema schema = ( ( SchemaWrapper ) selection ).getMySchema();
                    if ( schema.type == SchemaType.coreSchema )
                    {
                        manager.add( saveAs );
                        manager.add( new Separator() );
                        manager.add( exportSchemaForADS);
View Full Code Here


    {
        SchemasView view = ( SchemasView ) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()
            .findView( SchemasView.ID ); //$NON-NLS-1$
        Object selection = ( ( TreeSelection ) view.getViewer().getSelection() ).getFirstElement();

        Schema schema = null;
        ItemType item = null;

        if ( selection instanceof AttributeTypeWrapper )
        {
            // We have to get the parent of the parent ( AttributeTypeWrapper => IntermediateNode => SchemaWrapper )
            schema = ( ( AttributeTypeWrapper ) selection ).getMyAttributeType().getOriginatingSchema();
            item = DeleteAction.ItemType.attributeType;
        }
        else if ( selection instanceof ObjectClassWrapper )
        {
            // We have to get the parent of the parent ( ObjectClassWrapper => IntermediateNode => SchemaWrapper )
            schema = ( ( ObjectClassWrapper ) selection ).getMyObjectClass().getOriginatingSchema();
            item = DeleteAction.ItemType.objectClass;
        }
        else
        {
            MessageBox messageBox = new MessageBox( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
                SWT.OK | SWT.ICON_ERROR );
            messageBox.setMessage( Messages.getString( "DeleteAction.This_item_cant_be_deleted" ) ); //$NON-NLS-1$
            messageBox.open();
            return;
        }

        // Check if the schema isn't a core schema (core schema can't be modified
        if ( schema.type == Schema.SchemaType.coreSchema )
        {
            MessageBox messageBox = new MessageBox( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
                SWT.OK | SWT.ICON_ERROR );
            messageBox
                .setMessage( Messages.getString( "DeleteAction.The_schema" ) + schema.getName() + Messages.getString( "DeleteAction.Is_a_core_schema_It_cant_be_modified" ) ); //$NON-NLS-1$ //$NON-NLS-2$
            messageBox.open();
        }
        else
        {
            if ( item == DeleteAction.ItemType.attributeType )
            {
                AttributeType attributeType = ( ( AttributeTypeWrapper ) selection ).getMyAttributeType();
                MessageBox messageBox = new MessageBox(
                    PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), SWT.OK | SWT.CANCEL
                        | SWT.ICON_QUESTION );
                messageBox
                    .setMessage( Messages.getString( "DeleteAction.Are_you_sure_you_want_to_delete_the_attribute_type" ) + attributeType.getNames()[0] + Messages.getString( "DeleteAction.Interrogation" ) ); //$NON-NLS-1$ //$NON-NLS-2$
                if ( messageBox.open() == SWT.OK )
                {
                    schema.removeAttributeType( attributeType );
                }
            }
            else if ( item == DeleteAction.ItemType.objectClass )
            {
                ObjectClass objectClass = ( ( ObjectClassWrapper ) selection ).getMyObjectClass();
                MessageBox messageBox = new MessageBox(
                    PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), SWT.OK | SWT.CANCEL
                        | SWT.ICON_QUESTION );
                messageBox
                    .setMessage( Messages.getString( "DeleteAction.Are_you_sure_you_want_to_delete_the_object_class" ) + objectClass.getNames()[0] + Messages.getString( "DeleteAction.Interrogation" ) ); //$NON-NLS-1$ //$NON-NLS-2$
                if ( messageBox.open() == SWT.OK )
                {
                    schema.removeObjectClass( objectClass );
                }
            }
        }
    }
View Full Code Here

        if ( selection != null )
        {
            if ( selection instanceof SchemaWrapper )
            {
                Schema schema = ( ( SchemaWrapper ) selection ).getMySchema();

                // Opening the FileDialog to let the user choose the destination file
                FileDialog fd = new FileDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
                    SWT.SAVE );
                fd.setText( "Select a file" );
                fd.setFilterPath( Activator.getDefault().getPreferenceStore().getString(
                    PluginConstants.PREFS_SAVE_FILE_DIALOG ) );
                fd.setFileName( schema.getName() + ".ldif" ); //$NON-NLS-1$
                fd.setFilterExtensions( new String[]
                    { "*.ldif", "*.*" } ); //$NON-NLS-1$ //$NON-NLS-2$
                fd.setFilterNames( new String[]
                    { "LDIF files", "All_files" } );
                String savePath = fd.open();
                if ( savePath != null )
                {
                    File selectedFile = new File( savePath );
                    if ( selectedFile.exists() )
                    {
                        int response = ViewUtils.displayQuestionMessageBox( SWT.OK | SWT.CANCEL,
                            "Overwrite existing file ?",
                            "The file you have choosen already exists. Do you want to overwrite it?" );
                        if ( response == SWT.CANCEL )
                        {
                            return;
                        }
                    }

                    StringBuffer sb = new StringBuffer();
                    sb.append( "# " + schema.getName() + "\n" );
                    DateFormat format = DateFormat.getDateTimeInstance( DateFormat.LONG, DateFormat.MEDIUM );
                    Date date = new Date();
                    sb.append( "# Generated by LDAP Studio on " + format.format( date ) + "\n" );
                    sb.append( "\n" );

                    // Generation the Schema Node
                    sb.append( "dn: cn=" + schema.getName() + ", ou=schema\n" );
                    sb.append( "objectclass: metaSchema\n" );
                    sb.append( "objectclass: top\n" );
                    sb.append( "cn: " + schema.getName() + "\n" );
                    String[] schemaDependencies = getSchemaDependencies( schema );
                    for (String schemaName : schemaDependencies )
                    {
                        sb.append( "m-dependencies: " + schemaName + "\n" );
                    }
                    sb.append( "\n" );

                    try
                    {
                        // Generation the Attribute Types Node
                        sb.append( "dn: ou=attributeTypes, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: attributetypes\n" );
                        sb.append( "\n" );

                        // Generating LDIF for Attributes Types
                        for ( AttributeType at : schema.getAttributeTypesAsArray() )
                        {
                            AttributeTypeHolder holder = new AttributeTypeHolder( at.getOid() );
                            holder.setCollective( at.isCollective() );
                            holder.setDescription( at.getDescription() );
                            holder.setEquality( at.getEquality() );
                            List<String> names = new ArrayList<String>();
                            for ( String name : at.getNames() )
                            {
                                names.add( name );
                            }
                            holder.setNames( names );
                            holder.setNoUserModification( at.isNoUserModification() );
                            holder.setObsolete( at.isObsolete() );
                            holder.setOrdering( at.getOrdering() );
                            holder.setSingleValue( at.isSingleValue() );
                            holder.setSubstr( at.getSubstr() );
                            holder.setSuperior( at.getSuperior() );
                            holder.setSyntax( at.getSyntax() );
                            holder.setOidLen( at.getLength() );
                            holder.setUsage( at.getUsage() );

                            sb.append( holder.toLdif( schema.getName() ) + "\n" );
                        }

                        // Generation the Comparators Node
                        sb.append( "dn: ou=comparators, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: comparators\n" );
                        sb.append( "\n" );

                        // Generation the DIT Content Rules Node
                        sb.append( "dn: ou=ditContentRules, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: ditcontentrules\n" );
                        sb.append( "\n" );

                        // Generation the DIT Structure RulesNode
                        sb.append( "dn: ou=ditStructureRules, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: ditstructurerules\n" );
                        sb.append( "\n" );

                        // Generation the Matching Rules Node
                        sb.append( "dn: ou=matchingRules, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: matchingrules\n" );
                        sb.append( "\n" );

                        // Generation the Matching Rule Use Node
                        sb.append( "dn: ou=matchingRuleUse, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: matchingruleuse\n" );
                        sb.append( "\n" );

                        // Generation the Name Forms Node
                        sb.append( "dn: ou=nameForms, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: nameforms\n" );
                        sb.append( "\n" );

                        // Generation the Normalizers Node
                        sb.append( "dn: ou=normalizers, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: normalizers\n" );
                        sb.append( "\n" );

                        // Generation the Object Classes Node
                        sb.append( "dn: ou=objectClasses, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: objectClasses\n" );
                        sb.append( "\n" );

                        // Generating LDIF for Object Classes
                        for ( ObjectClass oc : schema.getObjectClassesAsArray() )
                        {
                            ObjectClassHolder holder = new ObjectClassHolder( oc.getOid() );
                            holder.setClassType( oc.getClassType() );
                            holder.setDescription( oc.getDescription() );
                            List<String> mayList = new ArrayList<String>();
                            for ( String may : oc.getMay() )
                            {
                                mayList.add( may );
                            }
                            holder.setMay( mayList );
                            List<String> mustList = new ArrayList<String>();
                            for ( String must : oc.getMust() )
                            {
                                mustList.add( must );
                            }
                            holder.setMust( mustList );
                            List<String> names = new ArrayList<String>();
                            for ( String name : oc.getNames() )
                            {
                                names.add( name );
                            }
                            holder.setNames( names );
                            List<String> superiorList = new ArrayList<String>();
                            for ( String superior : oc.getSuperiors() )
                            {
                                superiorList.add( superior );
                            }
                            holder.setSuperiors( superiorList );
                            holder.setObsolete( oc.isObsolete() );

                            sb.append( holder.toLdif( schema.getName() ) + "\n" );
                        }

                        // Generation the Syntax Checkers Node
                        sb.append( "dn: ou=syntaxCheckers, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: syntaxcheckers\n" );
                        sb.append( "\n" );

                        // Generation the Syntaxes Node
                        sb.append( "dn: ou=syntaxes, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: syntaxes\n" );
                        sb.append( "\n" );
                    }
View Full Code Here

        // We have to check on which node we are to get the schema name
        if ( selection != null )
        {

            Schema schema = null;

            if ( selection instanceof SchemaWrapper )
            {
                schema = ( ( SchemaWrapper ) selection ).getMySchema();
            }
            else if ( selection instanceof AttributeTypeWrapper )
            {
                schema = ( ( AttributeTypeWrapper ) selection ).getMyAttributeType().getOriginatingSchema();
            }
            else if ( selection instanceof ObjectClassWrapper )
            {
                schema = ( ( ObjectClassWrapper ) selection ).getMyObjectClass().getOriginatingSchema();
            }
            else if ( selection instanceof IntermediateNode )
            {
                schema = ( ( SchemaWrapper ) ( ( IntermediateNode ) selection ).getParent() ).getMySchema();
            }

            if ( schema != null )
            {
                try
                {
                    schema.save();
                }
                catch ( Exception e )
                {
                    ErrorDialog
                        .openError(
                            PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
                            Messages.getString( "SaveAction.Error" ), Messages.getString( "SaveAction.An_error_occurred_when_saving_schema" ) + schema.getName(), new Status( IStatus.ERROR, Activator.PLUGIN_ID, 0, "Status Error Message", null ) ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
                    logger.debug( "An error occured when saving schema " + schema.getName() ); //$NON-NLS-1$
                }
            }
        }
    }
View Full Code Here

        if ( selection != null )
        {
            if ( selection instanceof SchemaWrapper )
            {
                Schema schema = ( ( SchemaWrapper ) selection ).getMySchema();

                // Opening the FileDialog to let the user choose the destination file
                FileDialog fd = new FileDialog( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
                    SWT.SAVE );
                fd.setText( "Select a file" );
                fd.setFilterPath( Activator.getDefault().getPreferenceStore().getString(
                    PluginConstants.PREFS_SAVE_FILE_DIALOG ) );
                fd.setFileName( schema.getName() + ".ldif" ); //$NON-NLS-1$
                fd.setFilterExtensions( new String[]
                    { "*.ldif", "*.*" } ); //$NON-NLS-1$ //$NON-NLS-2$
                fd.setFilterNames( new String[]
                    { "LDIF files", "All_files" } );
                String savePath = fd.open();
                if ( savePath != null )
                {
                    File selectedFile = new File( savePath );
                    if ( selectedFile.exists() )
                    {
                        int response = ViewUtils.displayQuestionMessageBox( SWT.OK | SWT.CANCEL,
                            "Overwrite existing file ?",
                            "The file you have choosen already exists. Do you want to overwrite it?" );
                        if ( response == SWT.CANCEL )
                        {
                            return;
                        }
                    }

                    StringBuffer sb = new StringBuffer();
                    sb.append( "# " + schema.getName() + "\n" );
                    DateFormat format = DateFormat.getDateTimeInstance( DateFormat.LONG, DateFormat.MEDIUM );
                    Date date = new Date();
                    sb.append( "# Generated by LDAP Studio on " + format.format( date ) + "\n" );
                    sb.append( "\n" );

                    // Generation the Schema Node
                    sb.append( "dn: cn=" + schema.getName() + ", ou=schema\n" );
                    sb.append( "objectclass: metaSchema\n" );
                    sb.append( "objectclass: top\n" );
                    sb.append( "cn: " + schema.getName() + "\n" );
                    sb.append( "\n" );

                    try
                    {
                        // Generation the Attribute Types Node
                        sb.append( "dn: ou=attributeTypes, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: attributetypes\n" );
                        sb.append( "\n" );

                        // Generating LDIF for Attributes Types
                        for ( AttributeType at : schema.getAttributeTypesAsArray() )
                        {
                            AttributeTypeHolder holder = new AttributeTypeHolder( at.getOid() );
                            holder.setCollective( at.isCollective() );
                            holder.setDescription( at.getDescription() );
                            holder.setEquality( at.getEquality() );
                            List<String> names = new ArrayList<String>();
                            for ( String name : at.getNames() )
                            {
                                names.add( name );
                            }
                            holder.setNames( names );
                            holder.setNoUserModification( at.isNoUserModification() );
                            holder.setObsolete( at.isObsolete() );
                            holder.setOrdering( at.getOrdering() );
                            holder.setSingleValue( at.isSingleValue() );
                            holder.setSubstr( at.getSubstr() );
                            holder.setSuperior( at.getSuperior() );
                            holder.setSyntax( at.getSyntax() );
                            holder.setOidLen( at.getLength() );
                            holder.setUsage( at.getUsage() );

                            sb.append( holder.toLdif( schema.getName() ) + "\n" );
                        }

                        // Generation the Comparators Node
                        sb.append( "dn: ou=comparators, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: comparators\n" );
                        sb.append( "\n" );

                        // Generation the DIT Content Rules Node
                        sb.append( "dn: ou=ditContentRules, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: ditcontentrules\n" );
                        sb.append( "\n" );

                        // Generation the DIT Structure RulesNode
                        sb.append( "dn: ou=ditStructureRules, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: ditstructurerules\n" );
                        sb.append( "\n" );

                        // Generation the Matching Rules Node
                        sb.append( "dn: ou=macthingRules, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: matchingrules\n" );
                        sb.append( "\n" );

                        // Generation the Matching Rule Use Node
                        sb.append( "dn: ou=matchingRuleUse, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: matchingruleuse\n" );
                        sb.append( "\n" );

                        // Generation the Name Forms Node
                        sb.append( "dn: ou=nameForms, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: nameforms\n" );
                        sb.append( "\n" );

                        // Generation the Normalizers Node
                        sb.append( "dn: ou=normalizers, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: normalizers\n" );
                        sb.append( "\n" );

                        // Generation the Object Classes Node
                        sb.append( "dn: ou=objectClasses, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: objectClasses\n" );
                        sb.append( "\n" );

                        // Generating LDIF for Object Classes
                        for ( ObjectClass oc : schema.getObjectClassesAsArray() )
                        {
                            ObjectClassHolder holder = new ObjectClassHolder( oc.getOid() );
                            holder.setClassType( oc.getClassType() );
                            holder.setDescription( oc.getDescription() );
                            List<String> mayList = new ArrayList<String>();
                            for ( String may : oc.getMay() )
                            {
                                mayList.add( may );
                            }
                            holder.setMay( mayList );
                            List<String> mustList = new ArrayList<String>();
                            for ( String must : oc.getMust() )
                            {
                                mustList.add( must );
                            }
                            holder.setMust( mustList );
                            List<String> names = new ArrayList<String>();
                            for ( String name : oc.getNames() )
                            {
                                names.add( name );
                            }
                            holder.setNames( names );
                            List<String> superiorList = new ArrayList<String>();
                            for ( String superior : oc.getSuperiors() )
                            {
                                superiorList.add( superior );
                            }
                            holder.setSuperiors( superiorList );
                            holder.setObsolete( oc.isObsolete() );

                            sb.append( holder.toLdif( schema.getName() ) + "\n" );
                        }

                        // Generation the Syntax Checkers Node
                        sb.append( "dn: ou=syntaxCheckers, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: syntaxcheckers\n" );
                        sb.append( "\n" );

                        // Generation the Syntaxes Node
                        sb.append( "dn: ou=syntaxes, cn=" + schema.getName() + ", ou=schema\n" );
                        sb.append( "objectclass: organizationalUnit\n" );
                        sb.append( "objectclass: top\n" );
                        sb.append( "ou: syntaxes\n" );
                        sb.append( "\n" );
                    }
View Full Code Here

        else
        {
            //Getting the SchemaPool
            SchemaPool pool = SchemaPool.getInstance();
            // Getting the right schema
            Schema schema = pool.getSchema( schemaName );

            // Check if the schema isn't a core schema (core schema can't be modified
            if ( schema.type == Schema.SchemaType.coreSchema )
            {
                MessageBox messageBox = new MessageBox(
View Full Code Here

        if ( schemaName != null )
        {
            // Getting the SchemaPool
            SchemaPool pool = SchemaPool.getInstance();
            // Getting the right schema
            Schema schema = pool.getSchema( schemaName );

            if ( schema.type == Schema.SchemaType.coreSchema )
            {
                MessageBox messageBox = new MessageBox(
                    PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), SWT.OK | SWT.ICON_ERROR );
                messageBox
                    .setMessage( Messages.getString( "RemoveSchemaAction.The_schema" ) + schemaName + Messages.getString( "RemoveSchemaAction.Is_a_core_schema_It_cant_be_removed_from_the_pool" ) ); //$NON-NLS-1$ //$NON-NLS-2$
                messageBox.open();
                return;
            }
            if ( schema.hasBeenModified() || schema.hasPendingModification() )
            {
                MessageBox messageBox = new MessageBox(
                    PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), SWT.OK | SWT.CANCEL
                        | SWT.ICON_QUESTION );
                messageBox.setMessage( Messages
View Full Code Here

        Object selection = ( ( TreeSelection ) view.getViewer().getSelection() ).getFirstElement();

        if ( selection instanceof SchemaWrapper )
        {
            Schema schema = ( ( SchemaWrapper ) selection ).getMySchema();
            if ( schema.type == SchemaType.coreSchema )
            {
                manager.add( saveAsAction );
                manager.add( new Separator() );
                manager.add( openSchemaSourceCode );
View Full Code Here

        else
        {
            // Getting the SchemaPool
            SchemaPool pool = SchemaPool.getInstance();
            // Getting the right schema
            Schema schema = pool.getSchema( schemaName );

            // Check if the schema isn't a core schema (core schema can't be modified
            if ( schema.type == Schema.SchemaType.coreSchema )
            {
                MessageBox messageBox = new MessageBox(
View Full Code Here

        // We have to check on which node we are to get the schema name
        if ( selection != null )
        {
            if ( selection instanceof SchemaWrapper )
            {
                Schema schema = ( ( SchemaWrapper ) selection ).getMySchema();

                try
                {
                    schema.saveas();
                }
                catch ( Exception e )
                {
                    ErrorDialog
                        .openError(
                            PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
                            Messages.getString( "SaveAsAction.Error" ), Messages.getString( "SaveAsAction.An_error_occurred_when_saving_schemas" ) + schema.getName(), new Status( IStatus.ERROR, Application.PLUGIN_ID, 0, //$NON-NLS-1$ //$NON-NLS-2$
                                "Status Error Message", null ) ); //$NON-NLS-1$
                    logger.debug( "An error occured when saving schema " + schema.getName() ); //$NON-NLS-1$
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.schemas.model.Schema

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.