{
for (int s : cs.getSelected())
{
- matched.set(s);
+ matched.set(s);
}
}
else
return f;
}
-
/**
* Use restoreSession when you want to restore a previously saved sesssion to
* the running viewer instance.
public void restoreSession(String absolutePath)
{
String prefix = getViewerType().toString();
- try {
+ try
+ {
StructureCommandI cmd = commandGenerator.restoreSession(absolutePath);
if (cmd != null)
/**
* list the ligands available for display/hiding in the current view
+ *
* @return HETATM CODE:Molecule name
*/
- public Map<String, String> getHetatmNames() {
+ public Map<String, String> getHetatmNames()
+ {
return Collections.EMPTY_MAP;
}
+
/**
* Generates and executes a command to show the given hetatm types as CPK
*
- * @param toShow - one or more of strings from getHetatmNames
+ * @param toShow
+ * - one or more of strings from getHetatmNames
*/
public void showHetatms(List<String> toShow)
{
- executeCommands(commandGenerator.showHetatms(toShow), false, "Adjusting hetatm visibility");
+ executeCommands(commandGenerator.showHetatms(toShow), false,
+ "Adjusting hetatm visibility");
}
}