import jalview.api.AlignmentViewPanel;
import jalview.api.structures.JalviewStructureDisplayI;
import jalview.bin.Console;
-import jalview.datamodel.AlignmentI;
+import jalview.bin.Jalview;
import jalview.datamodel.PDBEntry;
import jalview.datamodel.SequenceI;
import jalview.ext.jmol.JalviewJmolBinding;
import jalview.structure.StructureSelectionManager;
import jalview.util.MessageManager;
import jalview.util.Platform;
-import jalview.ws.dbsources.EBIAlfaFold;
-import jalview.ws.dbsources.Pdb;
-import jalview.ws.utils.UrlDownloadClient;
import javajs.util.BS;
public class AppJmolBinding extends JalviewJmolBinding
{
jmolViewer.setJmolCallbackListener(this);
// BH comment: can't do this yet [for JS only, or generally?]
- return Platform.isJS() ? null
+ return Platform.isJS() || Jalview.isHeadlessMode() ? null
: new AppConsole(jmolViewer, consolePanel, buttonsToShow);
}