/**
* Expand or shrink the pathway
* */
public void ExpandShrinkPathway()
{
IRootComponent activeRoot = controller.getMappingModel().getRootComponent();
if (activeRoot.getBackgroundModel() != null)
{
JOptionPane.showMessageDialog(mainWindow.getRootPane(), "This function can be used only without metalayer. Please first delete the metalayer");
}
else
{