Class DataSgroupCheckerResult

All Implemented Interfaces:
StructureCheckerResult

@PublicAPI public class DataSgroupCheckerResult extends SgroupCheckerResult
A descendant of DefaultStructureCheckerResult for identifying Sgroup problems.
Since:
Marvin 5.3
  • Constructor Details

    • DataSgroupCheckerResult

      public DataSgroupCheckerResult(StructureChecker source, List<MolAtom> atoms, List<MolBond> bonds, StructureCheckerErrorType errorType, Molecule molecule, String description, List<Sgroup> groups, String name, String localMenuName, String helpText, Icon icon)
      Constructor which initialize all the properties.
      Parameters:
      source - is the StructureChecker instance which identified the problem
      atoms - a List of MolAtom which contains the affected atoms of the problem
      bonds - a List of MolBond which contains the affected bonds of the problem
      errorType - is an instance of StructureCheckerErrorType which identifies the problem
      molecule - is a Molecule instance which contains the described problem
      description - is short information about the problem
      groups - is a List of Sgroup which contains the affected groups of the problem
      name - is the name of the checker which found the described problem
      localMenuName - is a String which should be shown in the local menu of Marvin Sketch
      helpText - is help message for the problem
      icon - is an instance of Icon which will be shown in Marvin Sketch checker dialogs
  • Method Details

    • getGroupIndices

      public List<Integer> getGroupIndices()
    • setGroupIndices

      public void setGroupIndices(List<Integer> groupIndices)