phenote.gui.selection
Class SelectionManager

java.lang.Object
  extended by phenote.gui.selection.SelectionManager

public class SelectionManager
extends java.lang.Object

Controller for term & character selection


Constructor Summary
SelectionManager()
           
 
Method Summary
 void addIDSelectionListener(IDSelectionListener l)
           
 void addTermSelectionListener(TermSelectionListener l)
           
static SelectionManager getSelMan(java.lang.String group)
           
static SelectionManager inst()
          return main/default instance
 void removeIDSelectionListener(IDSelectionListener l)
           
 void removeTermSelectionListener(TermSelectionListener l)
           
static void reset()
           
 void selectHistoryTerm(java.lang.Object source, org.obo.datamodel.OBOClass oboClass, UseTermListener l)
           
 void selectID(java.lang.Object source, java.lang.String id, java.lang.String type)
           
 void selectMouseOverTerm(java.lang.Object source, org.obo.datamodel.OBOClass oboClass, UseTermListener l)
           
 void selectTerm(java.lang.Object source, org.obo.datamodel.OBOClass oboClass, boolean isHyperlink)
          select oboClass, if its not a hyperlink then fireTermSelect if it is a hyperlink and its not getting fired its unclear to me what the point of this is??? - MG
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionManager

public SelectionManager()
Method Detail

inst

public static SelectionManager inst()
return main/default instance


reset

public static void reset()

getSelMan

public static SelectionManager getSelMan(java.lang.String group)

addTermSelectionListener

public void addTermSelectionListener(TermSelectionListener l)

removeTermSelectionListener

public void removeTermSelectionListener(TermSelectionListener l)

addIDSelectionListener

public void addIDSelectionListener(IDSelectionListener l)

removeIDSelectionListener

public void removeIDSelectionListener(IDSelectionListener l)

selectHistoryTerm

public void selectHistoryTerm(java.lang.Object source,
                              org.obo.datamodel.OBOClass oboClass,
                              UseTermListener l)

selectMouseOverTerm

public void selectMouseOverTerm(java.lang.Object source,
                                org.obo.datamodel.OBOClass oboClass,
                                UseTermListener l)

selectTerm

public void selectTerm(java.lang.Object source,
                       org.obo.datamodel.OBOClass oboClass,
                       boolean isHyperlink)
select oboClass, if its not a hyperlink then fireTermSelect if it is a hyperlink and its not getting fired its unclear to me what the point of this is??? - MG


selectID

public void selectID(java.lang.Object source,
                     java.lang.String id,
                     java.lang.String type)