Package org.apache.directory.ldapstudio.browser.core.events

Examples of org.apache.directory.ldapstudio.browser.core.events.EntryMovedEvent


            viewer.refresh( ere.getNewEntry(), true );
            viewer.setSelection( new StructuredSelection( ere.getNewEntry() ), true );
        }
        else if ( event instanceof EntryMovedEvent )
        {
            EntryMovedEvent eme = ( EntryMovedEvent ) event;
            viewer.refresh( eme.getOldEntry().getParententry(), true );
            viewer.refresh( eme.getNewEntry().getParententry(), true );
            viewer.refresh( eme.getNewEntry(), true );
            viewer.setSelection( new StructuredSelection( eme.getNewEntry() ), true );
        }
        else if ( event instanceof BulkModificationEvent )
        {
            viewer.refresh();
        }
View Full Code Here


    {
        for ( int i = 0; i < newEntries.length; i++ )
        {
            if ( oldEntries[i] != null && newEntries[i] != null )
            {
                EventRegistry.fireEntryUpdated( new EntryMovedEvent( oldEntries[i], newEntries[i] ), this );
            }
        }
        for ( Iterator it = searchesToUpdateSet.iterator(); it.hasNext(); )
        {
            ISearch search = ( ISearch ) it.next();
View Full Code Here

            viewer.refresh( ere.getNewEntry(), true );
            viewer.setSelection( new StructuredSelection( ere.getNewEntry() ), true );
        }
        else if ( event instanceof EntryMovedEvent )
        {
            EntryMovedEvent eme = ( EntryMovedEvent ) event;
            viewer.refresh( eme.getOldEntry().getParententry(), true );
            viewer.refresh( eme.getNewEntry().getParententry(), true );
            viewer.refresh( eme.getNewEntry(), true );
            viewer.setSelection( new StructuredSelection( eme.getNewEntry() ), true );
        }
        else if ( event instanceof BulkModificationEvent )
        {
            viewer.refresh();
        }
View Full Code Here

            this.viewer.refresh( ere.getNewEntry(), true );
            this.viewer.setSelection( new StructuredSelection( ere.getNewEntry() ), true );
        }
        else if ( event instanceof EntryMovedEvent )
        {
            EntryMovedEvent eme = ( EntryMovedEvent ) event;
            this.viewer.refresh( eme.getOldEntry().getParententry(), true );
            this.viewer.refresh( eme.getNewEntry().getParententry(), true );
            this.viewer.refresh( eme.getNewEntry(), true );
            this.viewer.setSelection( new StructuredSelection( eme.getNewEntry() ), true );
        }

        // else if(event instanceof EntryDeletedEvent) {
        // this.viewer.refresh(event.getModifiedEntry(), true);
        // this.viewer.refresh(event.getModifiedEntry().getParententry(), true);
View Full Code Here

    {
        for ( int i = 0; i < newEntries.length; i++ )
        {
            if ( oldEntries[i] != null && newEntries[i] != null )
            {
                EventRegistry.fireEntryUpdated( new EntryMovedEvent( oldEntries[i], newEntries[i] ), this );
            }
        }
        for ( Iterator it = searchesToUpdateSet.iterator(); it.hasNext(); )
        {
            ISearch search = ( ISearch ) it.next();
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.core.events.EntryMovedEvent

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.