Examples of ActuatorsGallery


Examples of org.eclipse.sapphire.samples.gallery.ActuatorsGallery

public final class ActuatorsGalleryDoubleTheNumberActionHandler extends SapphireActionHandler
{
    @Override
    protected Object run( final Presentation context )
    {
        final ActuatorsGallery element = (ActuatorsGallery) context.part().getModelElement();
        final int original = element.getNumber().content();
        final int doubled = original * 2;
        element.setNumber( doubled );
       
        return null;
    }
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.