void () { final Variable variable = new Variable(); myVariables.add(variable); final Expression expression = Expression.create(myProject, myFileType); myContextProvider.attachTo(expression.getFile()); myList.add(expression); final int firstRow = myVariables.size() - 1; fireTableRowsInserted(firstRow, firstRow); }