Package org.apache.directory.ldapstudio.apacheds.configuration.model

Examples of org.apache.directory.ldapstudio.apacheds.configuration.model.ServerConfigurationParser


    /* (non-Javadoc)
     * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
     */
    public void run( IAction action )
    {
        ServerConfigurationParser parser = new ServerConfigurationParser();
        ServerConfiguration serverConfiguration = null;
       
        try
        {
            serverConfiguration = parser.parse( Activator.class.getResourceAsStream( "default-server.xml" ) );
        }
        catch ( ServerConfigurationParserException e )
        {
            MessageBox messageBox = new MessageBox( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
                SWT.OK | SWT.ICON_ERROR );
View Full Code Here


        if ( selectedFile == null || "".equals( selectedFile ) )
        {
            return;
        }

        ServerConfigurationParser parser = new ServerConfigurationParser();
        ServerConfiguration serverConfiguration = null;

        try
        {
            serverConfiguration = parser.parse( selectedFile );
        }
        catch ( ServerConfigurationParserException e )
        {
            MessageBox messageBox = new MessageBox( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
                SWT.OK | SWT.ICON_ERROR );
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.apacheds.configuration.model.ServerConfigurationParser

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.