{
private String lastMessage;
- boolean allChainsSelected = false;
-
/*
* when true, try to search the associated datamodel for sequences that are
* associated with any unknown structures in the Jmol view.
*/
private boolean associateNewStructs = false;
- Vector<String> atomsPicked = new Vector<>();
-
- /*
- * the default or current model displayed if the model cannot be identified
- * from the selection message
- */
- int frameNo = 0;
-
- // protected JmolGenericPopup jmolpopup; // not used - remove?
+ private Vector<String> atomsPicked = new Vector<>();
- String lastCommand;
+ private String lastCommand;
- boolean loadedInline;
+ private boolean loadedInline;
- StringBuffer resetLastRes = new StringBuffer();
+ private StringBuffer resetLastRes = new StringBuffer();
public Viewer jmolViewer;
/**
* superpose the structures associated with sequences in the alignment
* according to their corresponding positions.
+ *
+ * @deprecated not used - remove?
*/
+ @Deprecated
public void superposeStructures(AlignmentI alignment)
{
superposeStructures(alignment, -1, null);
* @param refStructure
* - select which pdb file to use as reference (default is -1 - the
* first structure in the alignment)
+ * @deprecated not used - remove?
*/
+ @Deprecated
public void superposeStructures(AlignmentI alignment, int refStructure)
{
superposeStructures(alignment, refStructure, null);
* first structure in the alignment)
* @param hiddenCols
* TODO
+ * @deprecated not used - remove?
*/
+ @Deprecated
public void superposeStructures(AlignmentI alignment, int refStructure,
HiddenColumns hiddenCols)
{
}
/**
- * instruct the Jalview binding to update the pdbentries vector if necessary
- * prior to matching the jmol view's contents to the list of structure files
- * Jalview knows about.
- */
- public abstract void refreshPdbEntries();
-
- /**
* map between index of model filename returned from getPdbFile and the first
* index of models from this file in the viewer. Note - this is not trimmed -
* use getPdbFile to get number of unique models.
jmolHistory(false);
StringBuilder cmd = new StringBuilder(64);
- cmd.append("select " + pdbResNum); // +modelNum
+ cmd.append("select ").append(String.valueOf(pdbResNum)); // +modelNum
- resetLastRes.append("select " + pdbResNum); // +modelNum
+ resetLastRes.append("select ").append(String.valueOf(pdbResNum)); // +modelNum
cmd.append(":");
resetLastRes.append(":");
resetLastRes.append(chain);
}
{
- cmd.append(" /" + (mdlNum + 1));
- resetLastRes.append("/" + (mdlNum + 1));
+ cmd.append(" /").append(String.valueOf(mdlNum + 1));
+ resetLastRes.append("/").append(String.valueOf(mdlNum + 1));
}
cmd.append(";wireframe 100;" + cmd.toString() + " and not hetero;");
}
- boolean debug = true;
+ private boolean debug = true;
private void jmolHistory(boolean enable)
{
chainId = " ";
}
- String pdbfilename = modelFileNames[frameNo]; // default is first or current
- // model
+ String pdbfilename = modelFileNames[0]; // default is first model
if (mdlSep > -1)
{
if (chainSeparator1 == -1)
public abstract void showUrl(String url, String target);
/**
- * called when the binding thinks the UI needs to be refreshed after a Jmol
- * state change. this could be because structures were loaded, or because an
- * error has occured.
- */
- public abstract void refreshGUI();
-
- /**
* called to show or hide the associated console window container.
*
* @param show