/** Runs the action. */
 @Override
 public void run() {
   fHierarchyViewPart.setLinkingEnabled(isChecked());
 }
 /**
  * Constructs a new action.
  *
  * @param part the type hierarchy part
  */
 public ToggleLinkingAction(ITypeHierarchyViewPart part) {
   setChecked(part.isLinkingEnabled());
   fHierarchyViewPart = part;
 }