final JavaContentAssistInvocationContext jcaic = (JavaContentAssistInvocationContext) context;
final IType expectedType = jcaic.getExpectedType();
if (expectedType != null && "String".equals(expectedType.getElementName())) {
final IDocument document = jcaic.getDocument();
final ICompilationUnit cu = jcaic.getCompilationUnit();
final IRegion wcr = DocumentHelper.findWicketComponentRegion(document, context.getInvocationOffset());
if (wcr != null) {
final IRegion javaRegion = DocumentHelper.findWord(document, wcr.getOffset());
try {
final IJavaElement[] jes = cu.codeSelect(javaRegion.getOffset(), javaRegion.getLength());
if (jes.length == 1 && TypeHelper.isWicketJavaElement(jes[0])) {
final IResource resource = cu.getResource();
final String openKind = jes[0].getElementName().equals(DocumentHelper.GET_STRING) ? WicketHyperlink.PROPERTIES : WicketHyperlink.HTML;
final WicketHyperlink wh = new WicketHyperlink(new Region(0, 0), "", openKind);
final List<String> filenamesToOpen = wh.getFilenamesToOpen(resource, openKind);
for (final String filename : filenamesToOpen) {