@Override
public ITextDoubleClickStrategy getDoubleClickStrategy(
ISourceViewer sourceViewer, String contentType) {
if (contentType == PHPPartitionTypes.PHP_DEFAULT) {
// use php's doubleclick strategy
return new PHPDoubleClickStrategy();
} else
return super.getDoubleClickStrategy(sourceViewer, contentType);
}