public function generate(NodeType $nodeType)
{
if (strpos($nodeType->getName(), ':') === false) {
return '';
}
$output = 'prototype(' . $nodeType->getName() . ') < prototype(Neos.Neos:Plugin) {' . chr(10);
list($packageKey, $relativeName) = explode(':', $nodeType->getName(), 2);
$output .= "\t" . 'package = "' . $packageKey . '"' . chr(10);
$output .= "\t" . 'subpackage = ""' . chr(10);
$output .= "\t" . 'controller = "Standard"' . chr(10);
$output .= "\t" . 'action = "index"' . chr(10);
$output .= '}' . chr(10);
return $output;
}