currentNode.getArticle().setArticleMode(newMode);
ensureCorrectArticleRenderMode();
currentArticleView.getComponent().repaint();
oldView.unlockEdits(); // Re-enables store-for-undo
}
public void ensureCorrectArticleRenderMode()
{
switch(currentNode.getArticle().getArticleMode())