All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.asayama.gwt.angular.client.sce.SceProvider Maven / Gradle / Ivy

package com.asayama.gwt.angular.client.sce;

import com.asayama.gwt.angular.client.Angular.Bind;
import com.asayama.gwt.angular.client.Factory;
import com.asayama.gwt.angular.client.NGObject;
import com.asayama.gwt.angular.client.Provider;
import com.asayama.gwt.angular.client.Service;

public class SceProvider implements Provider {

    private NGSceProvider ngo;

    public boolean enabled(boolean isEnabled) {
    	return ngo.enabled(isEnabled);
    }
    
    @Override
    public Factory getFactory() {
    	return null;
    }
}

@Bind("$sceProvider")
class NGSceProvider extends NGObject {

    protected NGSceProvider() {
    }

    final native boolean enabled(boolean isEnabled) /*-{
    	return this.enabled(isEnabled);
    }-*/;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy