if (fLinkedProposalModel.hasLinkedPositions()
&& part instanceof PHPStructuredEditor) {
// enter linked mode
ITextViewer viewer = ((PHPStructuredEditor) part)
.getViewer();
new LinkedProposalModelPresenter().enterLinkedMode(viewer,
part, fLinkedProposalModel);
} else if (part instanceof ITextEditor) {
LinkedProposalPositionGroup.PositionInformation endPosition = fLinkedProposalModel
.getEndPosition();
if (endPosition != null) {