Package uk.ac.qmul.eecs.ccmi.activities
Class CcmiEditorAppActivity
- java.lang.Object
-
- FragmentActivity
-
- uk.ac.qmul.eecs.ccmi.activities.AccessibleActivity
-
- uk.ac.qmul.eecs.ccmi.activities.CcmiEditorAppActivity
-
public class CcmiEditorAppActivity extends AccessibleActivity
The main activity. It displays the diagram through the hierarchical view of the CCmI Diagram Editor
-
-
Field Summary
-
Fields inherited from class uk.ac.qmul.eecs.ccmi.activities.AccessibleActivity
accessibilityService, dialogBuilder, list
-
-
Constructor Summary
Constructors Constructor and Description CcmiEditorAppActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getName()
protected void
onActivityResult(int requestCode, int resultCode, Intent data)
void
onBackPressed()
When the back button is pressed the activity will cursor back in the tree view, which means the parent of the currently displayed items will be displayed together with its siblings.void
onCreate(Bundle savedInstanceState)
Called when the activity is first created.void
onItemClick(<any> av, View v, int pos, long id)
boolean
onItemLongClick(<any> parent, View view, int position, long id)
The activity listens to long clicks performed on the list view.void
update()
-
Methods inherited from class uk.ac.qmul.eecs.ccmi.activities.AccessibleActivity
dispatchTouchEvent, getHeaderText, onPause, onPostResume, onResume, setHeaderText
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in classAccessibleActivity
-
onCreate
public void onCreate(Bundle savedInstanceState)
Called when the activity is first created.- Overrides:
onCreate
in classAccessibleActivity
-
update
public void update()
-
onItemClick
public void onItemClick(<any> av, View v, int pos, long id)
-
onItemLongClick
public boolean onItemLongClick(<any> parent, View view, int position, long id)
The activity listens to long clicks performed on the list view. When a user long clicks an item, a dialog is displayed accordingly. For example if the types of nodes and edges are listed when the user long clicks, then a dialog for insertion of a new node or edge is displayed.
-
onBackPressed
public void onBackPressed()
When the back button is pressed the activity will cursor back in the tree view, which means the parent of the currently displayed items will be displayed together with its siblings.
-
onActivityResult
protected void onActivityResult(int requestCode, int resultCode, Intent data)
-
-