|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.content.Context
android.content.ContextWrapper
android.view.ContextThemeWrapper
android.app.Activity
android.support.v4.app.FragmentActivity
org.android.activityminer.app.util.BasicTabActivity
org.android.activityminer.app.evaluation.EvaluationResultBrowserActivity
public class EvaluationResultBrowserActivity
The activity to browse the evaluation results. This is a tab view displaying a sorted list with the detail of the evaluation runs in the first tab. THe second tb does contain any necessary context information, like configuration details and class statistics.
Nested Class Summary | |
---|---|
private class |
EvaluationResultBrowserActivity.LoadFileTask
Asynchronous task to save evaluation results on external storage. |
private class |
EvaluationResultBrowserActivity.SaveFileTask
Asynchronous task to save evaluation results on external storage. |
Field Summary | |
---|---|
private EvaluationResultCollection |
evalResultCollection
The evaluation result collection. |
private String |
evalResultFile
The evaluation result file name |
private List<IEvaluationResultFragment> |
fragments
The fragment list |
Fields inherited from class android.app.Activity |
---|
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK |
Fields inherited from interface android.content.ComponentCallbacks2 |
---|
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN |
Constructor Summary | |
---|---|
EvaluationResultBrowserActivity()
Constructor |
Method Summary | |
---|---|
protected EvaluationResultCollection |
getEvalResultCollection()
Getter for the evaluation result collection |
static EvaluationResultCollection |
loadFromXMLFile(String filename)
Does load an evaluation result collection from a file. |
void |
notifyEvaluationResult()
Propagates the evaluation results to the fragments |
void |
onConfigurationChanged(Configuration newConfig)
|
protected void |
onCreate(Bundle savedInstanceState)
|
boolean |
onCreateOptionsMenu(Menu menu)
|
boolean |
onOptionsItemSelected(MenuItem item)
|
private void |
onSaveEvaluation()
Handler for evaluation result saving. |
void |
registerFragment(IEvaluationResultFragment fragement)
Method for evaluation result fragments to register for notifications |
protected void |
setEvalResultCollection(EvaluationResultCollection evalResultCollection)
Setter for the evaluation result collection |
Methods inherited from class org.android.activityminer.app.util.BasicTabActivity |
---|
addTab, addTab, clearAllTabs |
Methods inherited from class android.support.v4.app.FragmentActivity |
---|
dump, getLastCustomNonConfigurationInstance, getSupportFragmentManager, getSupportLoaderManager, onActivityResult, onAttachFragment, onBackPressed, onCreatePanelMenu, onCreateView, onDestroy, onKeyDown, onLowMemory, onMenuItemSelected, onNewIntent, onPanelClosed, onPause, onPostResume, onPrepareOptionsPanel, onPreparePanel, onResume, onResumeFragments, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, onSaveInstanceState, onStart, onStop, startActivityForResult, startActivityFromFragment, supportInvalidateOptionsMenu |
Methods inherited from class android.view.ContextThemeWrapper |
---|
applyOverrideConfiguration, attachBaseContext, getResources, getTheme, setTheme |
Methods inherited from class android.content.Context |
---|
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, unregisterComponentCallbacks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private EvaluationResultCollection evalResultCollection
private final List<IEvaluationResultFragment> fragments
private String evalResultFile
Constructor Detail |
---|
public EvaluationResultBrowserActivity()
Method Detail |
---|
protected final void setEvalResultCollection(EvaluationResultCollection evalResultCollection)
evalResultCollection
- the the evaluation result collection to setprotected final EvaluationResultCollection getEvalResultCollection()
protected void onCreate(Bundle savedInstanceState)
onCreate
in class BasicTabActivity
public final void notifyEvaluationResult()
public void onConfigurationChanged(Configuration newConfig)
onConfigurationChanged
in interface ComponentCallbacks
onConfigurationChanged
in class android.support.v4.app.FragmentActivity
public final boolean onCreateOptionsMenu(Menu menu)
onCreateOptionsMenu
in class Activity
public final boolean onOptionsItemSelected(MenuItem item)
onOptionsItemSelected
in class Activity
private void onSaveEvaluation()
public static final EvaluationResultCollection loadFromXMLFile(String filename) throws Exception
filename
- the file name
Exception
- if deserialization failspublic final void registerFragment(IEvaluationResultFragment fragement)
IEvaluationResultFragmentActivity
registerFragment
in interface IEvaluationResultFragmentActivity
fragement
- the fragment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |