Package org.gradle.gradleplugin.foundation.filters

Examples of org.gradle.gradleplugin.foundation.filters.BasicProjectAndTaskFilter.serializeIn()


     * editor. Lastly, we add an observer to the editor so we can save our changes immediately (useful for IDE
     * integration where we don't control the settings).
    */
    private void initializeFilterEditor() {
        BasicProjectAndTaskFilter filter = new BasicProjectAndTaskFilter();
        filter.serializeIn(settingsNode);
        editor = new BasicFilterEditor(filter);

        editor.addFilterEditorObserver(new BasicFilterEditor.FilterEditorObserver() {
            public void filterChanged() {  //whenever changes are made, save them.
                editor.createFilter().serializeOut(settingsNode);
View Full Code Here


     * This initializes our filter editor. We create a filter, serialize in our settings and then use that to create the editor. Lastly, we add an observer to the editor so we can save our changes
     * immediately (useful for IDE integration where we don't control the settings).
     */
    private void initializeFilterEditor() {
        BasicProjectAndTaskFilter filter = new BasicProjectAndTaskFilter();
        filter.serializeIn(settingsNode);
        editor = new BasicFilterEditor(filter);

        editor.addFilterEditorObserver(new BasicFilterEditor.FilterEditorObserver() {
            public void filterChanged() {  //whenever changes are made, save them.
                editor.createFilter().serializeOut(settingsNode);
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.