Examples of disposed()


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

    SapphireDiagramEditorPagePart diagramPart = context( SapphireDiagramEditorPagePart.class );
    ConnectionService connService = diagramPart.service(ConnectionService.class);
    for (DiagramConnectionPart connPart : connService.list())
    {
      ComponentDependency dependency = (ComponentDependency)connPart.getLocalModelElement();
      if (!dependency.disposed())
      {
        writeDependencyBendPoints(dependency, connPart);
      }
    }
   
View Full Code Here

Examples of org.eclipse.sapphire.sdk.CreateExtensionManifestOp.disposed()

           
            if( this.listener != null )
            {
                final CreateExtensionManifestOp op = context( CreateExtensionManifestOp.class );
               
                if( ! op.disposed() )
                {
                    op.property( CreateExtensionManifestOp.PROP_CONTEXT ).detach( this.listener );
                }
            }
        }
View Full Code Here

Examples of org.eclipse.sapphire.sdk.xml.schema.normalizer.CreateNormalizedXmlSchemaOp.disposed()

           
            if( this.listener != null )
            {
                final CreateNormalizedXmlSchemaOp op = context( CreateNormalizedXmlSchemaOp.class );
               
                if( ! op.disposed() )
                {
                    op.getContext().detach( this.listener );
                }
            }
        }
View Full Code Here

Examples of org.eclipse.sapphire.tests.modeling.properties.element.TestElement.ChildVariant1.disposed()

        assertNotNull( x );
       
        final ChildVariant2 y = (ChildVariant2) this.element.getHeterogeneous().content( true, ChildVariant2.TYPE );
       
        assertNotNull( y );
        assertTrue( x.disposed() );
    }

    /**
     * Tests {@link org.eclipse.sapphire.ElementHandle#content( boolean, ElementType )} method on a heterogeneous element property
     * when the property is empty, force is not allowed and a type is not specified
View Full Code Here

Examples of org.eclipse.sapphire.tests.modeling.properties.element.TestElement.ChildVariant1.disposed()

        assertNotNull( x );
       
        final ChildVariant2 y = this.element.getHeterogeneous().content( true, ChildVariant2.class );
       
        assertNotNull( y );
        assertTrue( x.disposed() );
    }

    /**
     * Tests {@link org.eclipse.sapphire.ElementHandle#content( boolean, Class )} method on a heterogeneous element property when
     * the property is empty, force is not allowed and a type is not specified
View Full Code Here

Examples of org.eclipse.sapphire.ui.forms.SplitFormDef.disposed()

       
        if( this.listener != null )
        {
            final SplitFormDef def = context( SplitFormDef.class );

            if( ! def.disposed() )
            {
                def.getSections().detach( this.listener );
                def.getOrientation().detach( this.listener );
            }
           
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.