use of org.eclipse.che.ide.api.resources.modification.CutResourceMarker in project che by eclipse.
the class CopyPasteManager method setResources.
protected void setResources(Resource[] resources, boolean move) {
if (this.resources != null) {
for (Resource resource : this.resources) {
resource.deleteMarker(CutResourceMarker.ID);
}
}
this.resources = resources;
this.move = move;
if (move) {
for (Resource resource : resources) {
resource.addMarker(new CutResourceMarker());
}
}
}
Aggregations