// Initiate the getPositionMenu to find the sample.
//
// ----------------------------------------------------------------------
// ---------------------------------
Icon getPositionIcon = icons.getIcon("samples.getPosition");
Action getPositionAction = new GetPositionAction("Get Position",
getPositionIcon, treePath, treeTableModel);
actionManager.addAction(getPositionAction);
popupMenu.add(getPositionAction);
// ----------------------------------------------------------------------
// ---------------------------------