Skip to content
Jeeeyul Lee edited this page Mar 27, 2014 · 6 revisions

This document is just concept.

ws.find("**/*.java", {
    match : function(file){
        console.log(file);
    },
    finish : function(){
        console.log("done");
    }
});

var file = ws.getFile("/a/src/A.java");
console.log(file.getContent());

_(selection).each(function(it){
    console.log(it);
});

_(selection).visit(function(it){
    console.log(it.name);
    return true;
});

_(selection).each(function(it){
    console.log(it.getSessionProperty("qualifier/localName");
    it.setSessionProperty("qualifier/localName", "test");
});
Clone this wiki locally