|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectapollo.gui.synteny.CurationManager
public class CurationManager
Holds CurationState objects. Reflects current CompositeDataHolder. Should CurationManager also get in the link business and hold SyntenyLinkPanels as well? probably. Perhaps this should be broken into 2 (or 3) objects. The tracking of data adapters is handy for SyntenyAdapter - should maybe have the data adapter stuff in a dataadapter object - but might be hard to separate - maybe do with an interface?
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
logger
|
| Method Summary | |
|---|---|
static GuiCurationState |
getActiveCurationState()
|
GuiCurationState |
getActiveCurState()
|
static Style |
getActiveStyle()
|
CompositeDataHolder |
getCompositeDataHolder()
|
Controller |
getCurationController(int i)
Convenience for getCurationState(i).getController() |
static CurationManager |
getCurationManager()
Singleton - there should only be one curationState holder |
java.lang.String |
getCurationName(int i)
|
GuiCurationState |
getCurationState(int i)
|
GuiCurationState |
getCurStateForCurName(java.lang.String curationName)
Returns null if no cur state with curationName (shouldnt happen) |
ApolloDataAdapterI |
getDataAdapter()
data adapter could be composite(SyntenyAdapter) or single(the rest) depending on if we are multi or single curationState. |
StatusBar |
getStatusBar()
|
boolean |
isActiveCurName(java.lang.String curName)
|
boolean |
isMultiCuration()
Whether we have more than one curationState or not |
boolean |
isSingleCuration()
|
int |
numberOfCurations()
|
void |
selectInputFeatures()
If the input from dataadapter is a specific feature within the curation then select it. |
void |
setActiveCurState(GuiCurationState curationState)
|
void |
setActiveCurState(java.lang.String curSetName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger logger
| Method Detail |
|---|
public static CurationManager getCurationManager()
public CompositeDataHolder getCompositeDataHolder()
public ApolloDataAdapterI getDataAdapter()
public int numberOfCurations()
public boolean isMultiCuration()
public boolean isSingleCuration()
public GuiCurationState getCurationState(int i)
public java.lang.String getCurationName(int i)
public StatusBar getStatusBar()
public Controller getCurationController(int i)
public void setActiveCurState(GuiCurationState curationState)
public void setActiveCurState(java.lang.String curSetName)
public static Style getActiveStyle()
public static GuiCurationState getActiveCurationState()
public GuiCurationState getActiveCurState()
public boolean isActiveCurName(java.lang.String curName)
public GuiCurationState getCurStateForCurName(java.lang.String curationName)
public void selectInputFeatures()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||