Package org.eclipse.sapphire.ui.def

Examples of org.eclipse.sapphire.ui.def.ISapphireUiDef.adapt()


            {
                final Reference referenceAnnotation = property.getAnnotation( Reference.class );
   
                if( referenceAnnotation != null && referenceAnnotation.target() == JavaType.class )
                {
                    final IProject project = def.adapt( IProject.class );
                   
                    if( project != null )
                    {
                        try
                        {
View Full Code Here


    public JavaType resolve( final String name )
    {
        if( name != null )
        {
            final ISapphireUiDef sdef = context( ISapphireUiDef.class );
            final Context context = sdef.adapt( Context.class );
           
            if( context != null )
            {
                Class<?> cl = context.findClass( name );
               
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.