I realised some problems with the Yii eclipse extension. Maybe these were listed, then sorry for duplicating:
When new yii framework project is created with an initialization project(for eg.: blog)
project\index.php does not contain the correct path to previously downloaded and selected framework,
\protected\config\main.php does not contain the settings for YII Code Generator.