protected void installDnD() {
    if ((myForcedDnD || (myUpAction != null && myUpActionEnabled &&
                         myDownAction != null && myDownActionEnabled))
        && !ApplicationManager.getApplication().isHeadlessEnvironment()
        && isModelEditable()) {
      installDnDSupport();
    }
  }
protected void installDnD()