public DataBase getGameData(TreeItem item){
        if(item == null || item == rootItem){
            return null;
        }
        
        DatabaseTreeItem dataItem = (DatabaseTreeItem) item;
        DataBase data = dataItem.gameData;
        
        if(data == null){
            File file = new File(ProjectMgr.getDataGamePath(), "Map" + dataItem.editorData.getIdName() + "." + AppMgr.getExtension("data file"));
            data =  (DataBase) DataMgr.load(file.getAbsolutePath());
            if(data == null){
                data = new DataMap(0, "" , 16, 16);
                data.id = dataItem.editorData.id;
                data.name = dataItem.editorData.name;
                dataItem.gameData = data;
                SaveMgr.requestSaveEnabled();
            }
        }
        
        return data;
    }