private List<UncommittedChange> changes = new ArrayList<UncommittedChange>();
public void notifyChange(VirtualFile file){
Icon icon = file.getFileType().getIcon();
if (file instanceof DatabaseObjectFile) {
DatabaseObjectFile databaseObjectFile = (DatabaseObjectFile) file;
icon = databaseObjectFile.getIcon();
}
if (file instanceof SQLConsoleFile) {
SQLConsoleFile sqlConsoleFile = (SQLConsoleFile) file;
icon = sqlConsoleFile.getIcon();
}