List<ColumnConfig<FileModel, ?>> list = new ArrayList<ColumnConfig<FileModel, ?>>();
list.add(name);
ColumnModel<FileModel> cm = new ColumnModel<FileModel>(list);
myTreeGrid = new FileTreeGrid(context, getMyTreeStore(), cm, name);
Menu fileMenu = new FileMenu(fileManagerPresenter)
.getFileMenu();
final MenuItem referMenuItem = getReferMenuItem(false);
fileMenu.add(new SeparatorMenuItem());
fileMenu.add(referMenuItem);
fileMenu.addBeforeShowHandler(new BeforeShowHandler() {
@Override
public void onBeforeShow(BeforeShowEvent event) {
if(getMyTreeGrid().getSelectionModel().getSelectedItem().isFolder()){
referMenuItem.setEnabled(false);
}else{