public void apply() {
        Scheduler.get().scheduleDeferred(() -> {
            if (widget != null) {
                $(widget.getElement()).pushpin(options);
            } else {
                GWT.log("Please set your widget before applying the pushpin", new IllegalStateException());
            }
        });
    }
public void apply ( ) { Scheduler . get ( ) . scheduleDeferred ( ( ) -> { if ( widget != null ) { $ ( widget . getElement ( ) ) . pushpin ( options ) ; } else { GWT . log ( "Please set your widget before applying the pushpin" , new IllegalStateException ( ) ) ; } } ) ; }
Apply the pushpin feature into the target widget