public void createControl(Composite parent) {
super.createControl(parent);
}
protected String getMessageString() {
InlineLocalRequestProcessor req = getInlineRefactoring().getRequestProcessor();
int occurences = req.getOccurences();
String variableName = req.getVariableName();
if (occurences == 1) {
return Messages.format(Messages.inlineLocalMessage, variableName);
} else {
return Messages.format(Messages.inlineLocalMessageMany, variableName, occurences);
}