protected void buildPopup(JPopupMenu inputPopup, RSyntaxTextArea editArea) {
this.inputPopup = inputPopup;
validateXmlAction = new ValidateMessageXmlAction();
saveXmlTextAreaAction = new SaveXmlTextAreaAction(editArea, "Save");
enableLineNumbersAction = new EnableLineNumbersAction(editorScrollPane, "Toggle Line Numbers");
goToLineAction = new GoToLineAction(editArea, "Go To Line");
findAndReplaceDialog = new FindAndReplaceDialogView("Find / Replace");
if (!readOnly) {
loadXmlTextAreaAction = new LoadXmlTextAreaAction(editArea, "Load");
insertBase64FileTextAreaAction = new InsertBase64FileTextAreaAction(editArea, "Insert File as Base64");