Examples of disposed()


Examples of org.apache.cocoon.components.flow.WebContinuation.disposed()

     * Return this continuation if it is valid, or first valid parent
     */
    private FOM_WebContinuation findValidParent(FOM_WebContinuation wk) {
        if (wk != null) {
            WebContinuation wc = wk.getWebContinuation();
            while (wc != null && wc.disposed()) {
                wc = wc.getParentContinuation();
            }
            if (wc != null) {
                return new FOM_WebContinuation(wc);
            }
View Full Code Here

Examples of org.eclipse.sapphire.Element.disposed()

            {
                final Map.Entry<Element,MasterDetailsContentNodePart> entry = itr.next();
                final Element element = entry.getKey();
                final MasterDetailsContentNodePart node = entry.getValue();
               
                if( element.disposed() )
                {
                    node.dispose();
                }
            }
           
View Full Code Here

Examples of org.eclipse.sapphire.Element.disposed()

                           
                            if( this.listener != null )
                            {
                                state.detach( this.listener, MasterDetailsEditorPageState.PROP_ATTRIBUTES.name() + "/*" );
                               
                                if( ! element.disposed() )
                                {
                                    element.property( Item.PROP_MANUFACTURER ).detach( this.listener );
                                }
                               
                                this.listener = null;
View Full Code Here

Examples of org.eclipse.sapphire.Element.disposed()

    @Override
    protected void compute( final Set<String> values )
    {
        final Element element = context( Element.class );
       
        if( ! element.disposed() )
        {
            element.visit
            (
                this.path,
                new PropertyVisitor()
View Full Code Here

Examples of org.eclipse.sapphire.Property.disposed()

        {
            factory.detach( this.nodeFactoryListener );
           
            final Property property = factory.property();
           
            if( ! property.disposed() )
            {
                final PossibleTypesService possibleTypesService = property.service( PossibleTypesService.class );
                possibleTypesService.detach( this.possibleTypesServiceListener );
            }
        }
View Full Code Here

Examples of org.eclipse.sapphire.Property.disposed()

        this.listener = new FilteredListener<PropertyContentEvent>()
        {
            @Override
            protected void handleTypedEvent( final PropertyContentEvent event )
            {
                if( ! property.disposed() )
                {
                    refresh();
                }
            }
        };
View Full Code Here

Examples of org.eclipse.sapphire.samples.architecture.Component.disposed()

  private void read(DiagramNodePart nodePart)
  {
   
    Component component = (Component)nodePart.getLocalModelElement();
    if (!component.disposed())
    {
      String nodeId = nodePart.getId();
        if (this.nodeBounds.containsKey(nodeId) && this.nodeBounds.get(nodeId) != null)
        {
          nodePart.setNodeBounds(this.nodeBounds.get(nodeId));    
View Full Code Here

Examples of org.eclipse.sapphire.samples.architecture.Component.disposed()

  }
 
  private void write(DiagramNodePart nodePart)
  {
    Component component = (Component)nodePart.getLocalModelElement();
    if (!component.disposed())
    {
      if (isNodeLayoutChanged(nodePart))
      {       
        this.architecture.detach(this.componentListener, "/Components/Position/*");
        writeComponentBounds(component, nodePart);
View Full Code Here

Examples of org.eclipse.sapphire.samples.architecture.Component.disposed()

    this.architecture.detach(this.componentDependencyListener, "/Components/Dependencies/ConnectionBendpoints/*");
   
    for (DiagramNodePart nodePart : context( SapphireDiagramEditorPagePart.class ).getNodes())
    {
      Component component = (Component)nodePart.getLocalModelElement();
      if (!component.disposed())
      {
        writeComponentBounds(component, nodePart);
      }
    }
    SapphireDiagramEditorPagePart diagramPart = context( SapphireDiagramEditorPagePart.class );
View Full Code Here

Examples of org.eclipse.sapphire.samples.architecture.ComponentDependency.disposed()

  }
 
  private void write(DiagramConnectionPart connPart)
  {
    ComponentDependency dependency = (ComponentDependency)connPart.getLocalModelElement();
    if (!dependency.disposed())
    {
      if (isConnectionLayoutChanged(connPart))
      {
        this.architecture.detach(this.componentDependencyListener, "/Components/Dependencies/ConnectionBendpoints/*");
        writeDependencyBendPoints(dependency, connPart);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.