test_class.file: display/render/src/test/java/org/openscience/cdk/renderer/RendererModelTest.java
test_class.identifier: RendererModelTest
test_case.body: @Test
      public void testGetRenderingParameters() {
          IGenerator<IChemObject> generator = new IGenerator<IChemObject>() {
  
              IGeneratorParameter<Boolean> someParam = new SomeParam();
  
              @Override
              public List<IGeneratorParameter<?>> getParameters() {
                  return new ArrayList<IGeneratorParameter<?>>() {
  
                      {
                          add(someParam);
                      }
                  };
              }
  
              @Override
              public IRenderingElement generate(IChemObject object, RendererModel model) {
                  // TODO Auto-generated method stub
                  return null;
              }
          };
          RendererModel model = new RendererModel();
          int nDefaultParams = model.getRenderingParameters().size();
          model.registerParameters(generator);
          List<IGeneratorParameter<?>> params = model.getRenderingParameters();
          Assert.assertNotNull(params);
          Assert.assertEquals(nDefaultParams + 1, params.size()); // the registered one + defaults
  
          List<Class<?>> paramClasses = new ArrayList<Class<?>>();
          for (IGeneratorParameter<?> param : params)
              paramClasses.add(param.getClass());
  
          assertThat(paramClasses, hasItem(SomeParam.class));
      }
test_case.class_method_signature: RendererModelTest.testGetRenderingParameters()
test_case.full_signature: @Test public void testGetRenderingParameters()
test_case.identifier: testGetRenderingParameters
test_case.invocations: add size getRenderingParameters registerParameters getRenderingParameters assertNotNull assertEquals size add getClass assertThat hasItem
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetRenderingParameters()
focal_class.declarator: serialVersionUID     = -4420308906715213445L
focal_class.modifier: private static final
focal_class.original_string: private static final long                  serialVersionUID     = -4420308906715213445L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: notification         = true
focal_class.modifier: private
focal_class.original_string: private boolean                            notification         = true;
focal_class.type: boolean
focal_class.var_name: notification
focal_class.declarator: listeners            = new ArrayList<ICDKChangeListener>()
focal_class.modifier: private transient
focal_class.original_string: private transient List<ICDKChangeListener> listeners            = new ArrayList<ICDKChangeListener>();
focal_class.type: List<ICDKChangeListener>
focal_class.var_name: listeners
focal_class.declarator: toolTipTextMap       = new HashMap<IAtom, String>()
focal_class.modifier: private
focal_class.original_string: private Map<IAtom, String>                 toolTipTextMap       = new HashMap<IAtom, String>();
focal_class.type: Map<IAtom, String>
focal_class.var_name: toolTipTextMap
focal_class.declarator: highlightedAtom      = null
focal_class.modifier: private
focal_class.original_string: private IAtom                              highlightedAtom      = null;
focal_class.type: IAtom
focal_class.var_name: highlightedAtom
focal_class.declarator: highlightedBond      = null
focal_class.modifier: private
focal_class.original_string: private IBond                              highlightedBond      = null;
focal_class.type: IBond
focal_class.var_name: highlightedBond
focal_class.declarator: externalSelectedPart = null
focal_class.modifier: private
focal_class.original_string: private IAtomContainer                     externalSelectedPart = null;
focal_class.type: IAtomContainer
focal_class.var_name: externalSelectedPart
focal_class.declarator: clipboardContent     = null
focal_class.modifier: private
focal_class.original_string: private IAtomContainer                     clipboardContent     = null;
focal_class.type: IAtomContainer
focal_class.var_name: clipboardContent
focal_class.declarator: selection
focal_class.modifier: private
focal_class.original_string: private IChemObjectSelection               selection;
focal_class.type: IChemObjectSelection
focal_class.var_name: selection
focal_class.declarator: merge                = new HashMap<IAtom, IAtom>()
focal_class.modifier: private
focal_class.original_string: private Map<IAtom, IAtom>                  merge                = new HashMap<IAtom, IAtom>();
focal_class.type: Map<IAtom, IAtom>
focal_class.var_name: merge
focal_class.declarator: externalHighlightColor = new ExternalHighlightColor()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<Color> externalHighlightColor = new ExternalHighlightColor();
focal_class.type: IGeneratorParameter<Color>
focal_class.var_name: externalHighlightColor
focal_class.declarator: colorHash           = new ColorHash()
focal_class.modifier: private
focal_class.original_string: private IGeneratorParameter<Map<IChemObject, Color>> colorHash           = new ColorHash();
focal_class.type: IGeneratorParameter<Map<IChemObject, Color>>
focal_class.var_name: colorHash
focal_class.declarator: renderingParameters = new HashMap<String, IGeneratorParameter<?>>()
focal_class.modifier: private
focal_class.original_string: private Map<String, IGeneratorParameter<?>>          renderingParameters = new HashMap<String, IGeneratorParameter<?>>();
focal_class.type: Map<String, IGeneratorParameter<?>>
focal_class.var_name: renderingParameters
focal_class.file: display/render/src/main/java/org/openscience/cdk/renderer/RendererModel.java
focal_class.identifier: RendererModel
focal_class.interfaces: implements Serializable, Cloneable
focal_class.class_method_signature: RendererModel.RendererModel()
focal_class.full_signature: public  RendererModel()
focal_class.identifier: RendererModel
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RendererModel()
focal_class.class_method_signature: RendererModel.getRenderingParameters()
focal_class.full_signature: public List<IGeneratorParameter<?>> getRenderingParameters()
focal_class.identifier: getRenderingParameters
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<IGeneratorParameter<?>>
focal_class.signature: List<IGeneratorParameter<?>> getRenderingParameters()
focal_class.class_method_signature: RendererModel.getParameter(Class<T> param)
focal_class.full_signature: public T getParameter(Class<T> param)
focal_class.identifier: getParameter
focal_class.modifiers: public
focal_class.parameters: (Class<T> param)
focal_class.return: T
focal_class.signature: T getParameter(Class<T> param)
focal_class.class_method_signature: RendererModel.getDefault(Class<T> param)
focal_class.full_signature: public S getDefault(Class<T> param)
focal_class.identifier: getDefault
focal_class.modifiers: public
focal_class.parameters: (Class<T> param)
focal_class.return: S
focal_class.signature: S getDefault(Class<T> param)
focal_class.class_method_signature: RendererModel.set(Class<T> paramType, U value)
focal_class.full_signature: public void set(Class<T> paramType, U value)
focal_class.identifier: set
focal_class.modifiers: public
focal_class.parameters: (Class<T> paramType, U value)
focal_class.return: void
focal_class.signature: void set(Class<T> paramType, U value)
focal_class.class_method_signature: RendererModel.get(Class<T> paramType)
focal_class.full_signature: public S get(Class<T> paramType)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (Class<T> paramType)
focal_class.return: S
focal_class.signature: S get(Class<T> paramType)
focal_class.class_method_signature: RendererModel.registerParameters(IGenerator<? extends IChemObject> generator)
focal_class.full_signature: public void registerParameters(IGenerator<? extends IChemObject> generator)
focal_class.identifier: registerParameters
focal_class.modifiers: public
focal_class.parameters: (IGenerator<? extends IChemObject> generator)
focal_class.return: void
focal_class.signature: void registerParameters(IGenerator<? extends IChemObject> generator)
focal_class.class_method_signature: RendererModel.setSelection(IChemObjectSelection selection)
focal_class.full_signature: public void setSelection(IChemObjectSelection selection)
focal_class.identifier: setSelection
focal_class.modifiers: public
focal_class.parameters: (IChemObjectSelection selection)
focal_class.return: void
focal_class.signature: void setSelection(IChemObjectSelection selection)
focal_class.class_method_signature: RendererModel.getSelection()
focal_class.full_signature: public IChemObjectSelection getSelection()
focal_class.identifier: getSelection
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IChemObjectSelection
focal_class.signature: IChemObjectSelection getSelection()
focal_class.class_method_signature: RendererModel.getMerge()
focal_class.full_signature: public Map<IAtom, IAtom> getMerge()
focal_class.identifier: getMerge
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<IAtom, IAtom>
focal_class.signature: Map<IAtom, IAtom> getMerge()
focal_class.class_method_signature: RendererModel.getHighlightedAtom()
focal_class.full_signature: public IAtom getHighlightedAtom()
focal_class.identifier: getHighlightedAtom
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IAtom
focal_class.signature: IAtom getHighlightedAtom()
focal_class.class_method_signature: RendererModel.setHighlightedAtom(IAtom highlightedAtom)
focal_class.full_signature: public void setHighlightedAtom(IAtom highlightedAtom)
focal_class.identifier: setHighlightedAtom
focal_class.modifiers: public
focal_class.parameters: (IAtom highlightedAtom)
focal_class.return: void
focal_class.signature: void setHighlightedAtom(IAtom highlightedAtom)
focal_class.class_method_signature: RendererModel.getHighlightedBond()
focal_class.full_signature: public IBond getHighlightedBond()
focal_class.identifier: getHighlightedBond
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IBond
focal_class.signature: IBond getHighlightedBond()
focal_class.class_method_signature: RendererModel.setHighlightedBond(IBond highlightedBond)
focal_class.full_signature: public void setHighlightedBond(IBond highlightedBond)
focal_class.identifier: setHighlightedBond
focal_class.modifiers: public
focal_class.parameters: (IBond highlightedBond)
focal_class.return: void
focal_class.signature: void setHighlightedBond(IBond highlightedBond)
focal_class.class_method_signature: RendererModel.getClipboardContent()
focal_class.full_signature: public IAtomContainer getClipboardContent()
focal_class.identifier: getClipboardContent
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IAtomContainer
focal_class.signature: IAtomContainer getClipboardContent()
focal_class.class_method_signature: RendererModel.setClipboardContent(IAtomContainer content)
focal_class.full_signature: public void setClipboardContent(IAtomContainer content)
focal_class.identifier: setClipboardContent
focal_class.modifiers: public
focal_class.parameters: (IAtomContainer content)
focal_class.return: void
focal_class.signature: void setClipboardContent(IAtomContainer content)
focal_class.class_method_signature: RendererModel.addCDKChangeListener(ICDKChangeListener listener)
focal_class.full_signature: public void addCDKChangeListener(ICDKChangeListener listener)
focal_class.identifier: addCDKChangeListener
focal_class.modifiers: public
focal_class.parameters: (ICDKChangeListener listener)
focal_class.return: void
focal_class.signature: void addCDKChangeListener(ICDKChangeListener listener)
focal_class.class_method_signature: RendererModel.removeCDKChangeListener(ICDKChangeListener listener)
focal_class.full_signature: public void removeCDKChangeListener(ICDKChangeListener listener)
focal_class.identifier: removeCDKChangeListener
focal_class.modifiers: public
focal_class.parameters: (ICDKChangeListener listener)
focal_class.return: void
focal_class.signature: void removeCDKChangeListener(ICDKChangeListener listener)
focal_class.class_method_signature: RendererModel.fireChange()
focal_class.full_signature: public void fireChange()
focal_class.identifier: fireChange
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void fireChange()
focal_class.class_method_signature: RendererModel.getToolTipText(IAtom atom)
focal_class.full_signature: public String getToolTipText(IAtom atom)
focal_class.identifier: getToolTipText
focal_class.modifiers: public
focal_class.parameters: (IAtom atom)
focal_class.return: String
focal_class.signature: String getToolTipText(IAtom atom)
focal_class.class_method_signature: RendererModel.setToolTipTextMap(Map<IAtom, String> map)
focal_class.full_signature: public void setToolTipTextMap(Map<IAtom, String> map)
focal_class.identifier: setToolTipTextMap
focal_class.modifiers: public
focal_class.parameters: (Map<IAtom, String> map)
focal_class.return: void
focal_class.signature: void setToolTipTextMap(Map<IAtom, String> map)
focal_class.class_method_signature: RendererModel.getToolTipTextMap()
focal_class.full_signature: public Map<IAtom, String> getToolTipTextMap()
focal_class.identifier: getToolTipTextMap
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<IAtom, String>
focal_class.signature: Map<IAtom, String> getToolTipTextMap()
focal_class.class_method_signature: RendererModel.getExternalSelectedPart()
focal_class.full_signature: public IAtomContainer getExternalSelectedPart()
focal_class.identifier: getExternalSelectedPart
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IAtomContainer
focal_class.signature: IAtomContainer getExternalSelectedPart()
focal_class.class_method_signature: RendererModel.setExternalSelectedPart(IAtomContainer externalSelectedPart)
focal_class.full_signature: public void setExternalSelectedPart(IAtomContainer externalSelectedPart)
focal_class.identifier: setExternalSelectedPart
focal_class.modifiers: public
focal_class.parameters: (IAtomContainer externalSelectedPart)
focal_class.return: void
focal_class.signature: void setExternalSelectedPart(IAtomContainer externalSelectedPart)
focal_class.class_method_signature: RendererModel.getNotification()
focal_class.full_signature: public boolean getNotification()
focal_class.identifier: getNotification
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean getNotification()
focal_class.class_method_signature: RendererModel.hasParameter(Class<T> param)
focal_class.full_signature: public boolean hasParameter(Class<T> param)
focal_class.identifier: hasParameter
focal_class.modifiers: public
focal_class.parameters: (Class<T> param)
focal_class.return: boolean
focal_class.signature: boolean hasParameter(Class<T> param)
focal_class.class_method_signature: RendererModel.setNotification(boolean notification)
focal_class.full_signature: public void setNotification(boolean notification)
focal_class.identifier: setNotification
focal_class.modifiers: public
focal_class.parameters: (boolean notification)
focal_class.return: void
focal_class.signature: void setNotification(boolean notification)
focal_method.body: public List<IGeneratorParameter<?>> getRenderingParameters() {
          List<IGeneratorParameter<?>> parameters = new ArrayList<IGeneratorParameter<?>>();
          parameters.addAll(renderingParameters.values());
          return parameters;
      }
focal_method.class_method_signature: RendererModel.getRenderingParameters()
focal_method.full_signature: public List<IGeneratorParameter<?>> getRenderingParameters()
focal_method.identifier: getRenderingParameters
focal_method.invocations: addAll values
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: List<IGeneratorParameter<?>>
focal_method.signature: List<IGeneratorParameter<?>> getRenderingParameters()