Package org.eclipse.sapphire

Examples of org.eclipse.sapphire.ListenerContext


    {
        this.editorPagePart = editorPagePart;
        this.editorPageDef = editorPagePart.definition();
        this.rootModelElement = editorPagePart.getModelElement();
        this.selection = Collections.emptyList();
        this.listeners = new ListenerContext();
        this.filterText = "";
    }
View Full Code Here


        this.modelElement = modelElement;
    }
   
    public final void initialize()
    {
        this.listeners = new ListenerContext( ( (ElementImpl) this.modelElement ).queue() );
       
        for( ISapphirePartListenerDef listenerDefinition : this.definition.getListeners() )
        {
            final JavaType listenerClass = listenerDefinition.getListenerClass().target();
           
View Full Code Here

    public FunctionResult( final Function function,
                           final FunctionContext context )
    {
        this.function = function;
        this.context = context;
        this.listeners = new ListenerContext();
        this.operands = Collections.unmodifiableList( initOperands() );

        if( this.operands.isEmpty() )
        {
            this.listener = null;
View Full Code Here

    {
        this.context = context;
        this.id = id;
        this.params = MapFactory.unmodifiable( params );
        this.overrides = SetFactory.unmodifiable( overrides );
        this.listeners = new ListenerContext( context.queue() );
    }
View Full Code Here

   
    public synchronized boolean attach( final Listener listener )
    {
        if( this.listeners == null )
        {
            this.listeners = new ListenerContext();
        }
       
        return this.listeners.attach( listener );
    }
View Full Code Here

   
    public synchronized boolean detach( final Listener listener )
    {
        if( this.listeners == null )
        {
            this.listeners = new ListenerContext();
        }
       
        return this.listeners.detach( listener );
    }
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.ListenerContext

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.