Package org.apache.directory.studio.ldapbrowser.core.events

Examples of org.apache.directory.studio.ldapbrowser.core.events.EntryDeletedEvent


            viewer.refresh( eme.getNewEntry().getParententry(), true );
            viewer.setSelection( new StructuredSelection( eme.getNewEntry() ), true );
        }
        else if ( event instanceof EntryDeletedEvent )
        {
            EntryDeletedEvent ede = ( EntryDeletedEvent ) event;
            if ( ede.getModifiedEntry().getParententry() != null )
            {
                viewer.refresh( ede.getModifiedEntry().getParententry(), true );
                viewer.setSelection( new StructuredSelection( ede.getModifiedEntry().getParententry() ), true );
            }
            else
            {
                viewer.refresh();
            }
View Full Code Here


            }
            if ( ci.childrenSet == null || ci.childrenSet.isEmpty() )
            {
                getBrowserConnectionImpl().setChildrenInfo( this, null );
            }
            entryModified( new EntryDeletedEvent( getBrowserConnectionImpl(), childToDelete ) );
        }
    }
View Full Code Here

    protected void runNotification()
    {
        for ( IEntry entry : deletedEntriesSet )
        {
            EventRegistry.fireEntryUpdated( new EntryDeletedEvent( entry.getBrowserConnection(), entry ), this );
        }
        for ( IEntry parent : entriesToUpdateSet )
        {
            EventRegistry.fireEntryUpdated( new ChildrenInitializedEvent( parent ), this );
        }
View Full Code Here

            viewer.refresh( eme.getNewEntry().getParententry(), true );
            viewer.setSelection( new StructuredSelection( eme.getNewEntry() ), true );
        }
        else if ( event instanceof EntryDeletedEvent )
        {
            EntryDeletedEvent ede = ( EntryDeletedEvent ) event;
            if ( ede.getModifiedEntry().getParententry() != null )
            {
                viewer.refresh( ede.getModifiedEntry().getParententry(), true );
                viewer.setSelection( new StructuredSelection( ede.getModifiedEntry().getParententry() ), true );
            }
            else
            {
                viewer.refresh();
            }
View Full Code Here

    protected void runNotification()
    {
        for ( IEntry entry : deletedEntriesSet )
        {
            EventRegistry.fireEntryUpdated( new EntryDeletedEvent( entry.getBrowserConnection(), entry ), this );
        }
        for ( IEntry parent : entriesToUpdateSet )
        {
            EventRegistry.fireEntryUpdated( new ChildrenInitializedEvent( parent ), this );
        }
View Full Code Here

            ci.childrenSet.remove( childToDelete );
            if ( ci.childrenSet == null || ci.childrenSet.isEmpty() )
            {
                getBrowserConnectionImpl().setChildrenInfo( this, null );
            }
            entryModified( new EntryDeletedEvent( getBrowserConnectionImpl(), childToDelete ) );
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.studio.ldapbrowser.core.events.EntryDeletedEvent

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.