}
@Override
public void contribute( final PropertyEditorAssistContext context )
{
final CreateWorkspaceFileOp op = (CreateWorkspaceFileOp) context.getPart().getLocalModelElement();
if( op.getFile().validation().contains( PROBLEM_FILE_EXISTS ) )
{
final PropertyEditorAssistContribution.Factory contribution = PropertyEditorAssistContribution.factory();
contribution.text( "<p><a href=\"action\" nowrap=\"true\">" + escapeForXml( action.text() ) + "</a></p>" );
contribution.link
(
"action",
new Runnable()
{
public void run()
{
op.setOverwriteExistingFile( true );
}
}
);
final PropertyEditorAssistSection section = context.getSection( SECTION_ID_ACTIONS );