Package org.apache.directory.ldapstudio.schemas.view.editors.objectClass

Examples of org.apache.directory.ldapstudio.schemas.view.editors.objectClass.ObjectClassEditorInput


            { "top" } ); //$NON-NLS-1$
        ObjectClass objectClass = new ObjectClass( objectClassLiteral, schema );
        schema.addObjectClass( objectClass );

        // Opening the associated editor
        ObjectClassEditorInput input = new ObjectClassEditorInput( objectClass );
        String editorId = ObjectClassEditor.ID;
        try
        {
            PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().openEditor( input, editorId );
        }
View Full Code Here


            input = new AttributeTypeEditorInput( ( AttributeType ) item );
            editorId = AttributeTypeEditor.ID;
        }
        else if ( item instanceof ObjectClass )
        {
            input = new ObjectClassEditorInput( ( ObjectClass ) item );
            editorId = ObjectClassEditor.ID;
        }

        // Let's open the editor
        if ( input != null )
View Full Code Here

                        .getMyAttributeType() );
                    editorId = AttributeTypeEditor.ID;
                }
                else if ( objectSelection instanceof ObjectClassWrapper )
                {
                    input = new ObjectClassEditorInput( ( ( ObjectClassWrapper ) objectSelection ).getMyObjectClass() );
                    editorId = ObjectClassEditor.ID;
                }

                // Let's open the editor
                if ( input != null )
View Full Code Here

                        .getMyAttributeType() );
                    editorId = AttributeTypeEditor.ID;
                }
                else if ( objectSelection instanceof ObjectClassWrapper )
                {
                    input = new ObjectClassEditorInput( ( ( ObjectClassWrapper ) objectSelection ).getMyObjectClass() );
                    editorId = ObjectClassEditor.ID;
                }
                else if ( objectSelection instanceof IntermediateNode )
                {
                    // Here we don't open an editor, we just expand the node.
View Full Code Here

                        .getMyAttributeType() );
                    editorId = AttributeTypeEditor.ID;
                }
                else if ( objectSelection instanceof ObjectClassWrapper )
                {
                    input = new ObjectClassEditorInput( ( ( ObjectClassWrapper ) objectSelection ).getMyObjectClass() );
                    editorId = ObjectClassEditor.ID;
                }
                else if ( ( objectSelection instanceof IntermediateNode )
                    || ( objectSelection instanceof SchemaWrapper ) )
                {
View Full Code Here

                        .getMyAttributeType() );
                    editorId = AttributeTypeEditor.ID;
                }
                else if ( objectSelection instanceof ObjectClassWrapper )
                {
                    input = new ObjectClassEditorInput( ( ( ObjectClassWrapper ) objectSelection ).getMyObjectClass() );
                    editorId = ObjectClassEditor.ID;
                }
                else if ( ( objectSelection instanceof IntermediateNode )
                    || ( objectSelection instanceof SchemaWrapper ) )
                {
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.schemas.view.editors.objectClass.ObjectClassEditorInput

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.