public void filterTextChanged(){
        super.filterTextChanged();
        
        String filterText = filterTextField.getText();
        
        //if(filterText.equals("")){
        //    stopFiltering();
            //tree.refresh(tree.rootItem.editorData, true);
        //}
        
        
        if(isFiltering){
            tree.clear();
            
            for(TreeItem item : items){
                if(item.getText().toLowerCase().contains(filterText.toLowerCase())){
                    item.removeAllChildren();
                    tree.addTopLevelItem(item);
                }
            }
            
        }
        else{
            stopFiltering();
        }
        
        tree.checkEnabledMenuAction();
        
    }