Re-enabled incomplete modules
This commit is contained in:
parent
584360f141
commit
cde31d873a
|
@ -114,16 +114,15 @@ public class SWADMain extends MenuExpandableListActivity {
|
||||||
/**
|
/**
|
||||||
* Group position inside the main menu for Course group
|
* Group position inside the main menu for Course group
|
||||||
* */
|
* */
|
||||||
//private int COURSE_GROUP = 2;
|
private int COURSE_GROUP = 2;
|
||||||
/**
|
/**
|
||||||
* Group position inside the main menu for Enrollment group
|
* Group position inside the main menu for Enrollment group
|
||||||
* */
|
* */
|
||||||
//private int ENROLLMENT_GROUP = 3;
|
private int ENROLLMENT_GROUP = 3;
|
||||||
private int ENROLLMENT_GROUP = 2;
|
|
||||||
/**
|
/**
|
||||||
* Group position inside the main menu for User group
|
* Group position inside the main menu for User group
|
||||||
* */
|
* */
|
||||||
//private int USERS_GROUP = 4;
|
private int USERS_GROUP = 4;
|
||||||
/**
|
/**
|
||||||
* Child position inside the messages menu for Notification
|
* Child position inside the messages menu for Notification
|
||||||
* */
|
* */
|
||||||
|
@ -509,10 +508,10 @@ public class SWADMain extends MenuExpandableListActivity {
|
||||||
headerData.add( evaluation);
|
headerData.add( evaluation);
|
||||||
|
|
||||||
//DISABLE until it will be functional
|
//DISABLE until it will be functional
|
||||||
/*final HashMap<String, Object> courses = new HashMap<String,Object>();
|
final HashMap<String, Object> courses = new HashMap<String,Object>();
|
||||||
courses.put(NAME, getString(R.string.course));
|
courses.put(NAME, getString(R.string.course));
|
||||||
courses.put(IMAGE, getResources().getDrawable(R.drawable.blackboard));
|
courses.put(IMAGE, getResources().getDrawable(R.drawable.blackboard));
|
||||||
headerData.add(courses);*/
|
headerData.add(courses);
|
||||||
|
|
||||||
final HashMap<String, Object> enrolment = new HashMap<String,Object>();
|
final HashMap<String, Object> enrolment = new HashMap<String,Object>();
|
||||||
enrolment.put(NAME, getString(R.string.enrollment));
|
enrolment.put(NAME, getString(R.string.enrollment));
|
||||||
|
@ -528,8 +527,8 @@ public class SWADMain extends MenuExpandableListActivity {
|
||||||
childData.add(evaluationData);
|
childData.add(evaluationData);
|
||||||
|
|
||||||
//DISABLE until it will be functional
|
//DISABLE until it will be functional
|
||||||
//final ArrayList<HashMap<String,Object>> documentsData = new ArrayList<HashMap<String, Object>>();
|
final ArrayList<HashMap<String,Object>> documentsData = new ArrayList<HashMap<String, Object>>();
|
||||||
//childData.add(documentsData);
|
childData.add(documentsData);
|
||||||
|
|
||||||
final ArrayList<HashMap<String,Object>> enrollmentData = new ArrayList<HashMap<String, Object>>();
|
final ArrayList<HashMap<String,Object>> enrollmentData = new ArrayList<HashMap<String, Object>>();
|
||||||
childData.add(enrollmentData);
|
childData.add(enrollmentData);
|
||||||
|
@ -553,7 +552,7 @@ public class SWADMain extends MenuExpandableListActivity {
|
||||||
|
|
||||||
//DISABLE until it will be functional
|
//DISABLE until it will be functional
|
||||||
//Documents category
|
//Documents category
|
||||||
/*map = new HashMap<String,Object>();
|
map = new HashMap<String,Object>();
|
||||||
map.put(NAME, getString(R.string.documentsDownloadModuleLabel));
|
map.put(NAME, getString(R.string.documentsDownloadModuleLabel));
|
||||||
map.put(IMAGE, getResources().getDrawable(R.drawable.folder));
|
map.put(IMAGE, getResources().getDrawable(R.drawable.folder));
|
||||||
documentsData.add(map);
|
documentsData.add(map);
|
||||||
|
@ -561,7 +560,7 @@ public class SWADMain extends MenuExpandableListActivity {
|
||||||
map = new HashMap<String,Object>();
|
map = new HashMap<String,Object>();
|
||||||
map.put(NAME, getString(R.string.sharedsDownloadModuleLabel));
|
map.put(NAME, getString(R.string.sharedsDownloadModuleLabel));
|
||||||
map.put(IMAGE, getResources().getDrawable(R.drawable.folderusers));
|
map.put(IMAGE, getResources().getDrawable(R.drawable.folderusers));
|
||||||
documentsData.add(map);*/
|
documentsData.add(map);
|
||||||
|
|
||||||
map = new HashMap<String,Object>();
|
map = new HashMap<String,Object>();
|
||||||
map.put(NAME, getString(R.string.myGroupsModuleLabel));
|
map.put(NAME, getString(R.string.myGroupsModuleLabel));
|
||||||
|
@ -610,7 +609,7 @@ public class SWADMain extends MenuExpandableListActivity {
|
||||||
((ImageExpandableListAdapter) getExpandableListAdapter()).addChild(MESSAGES_GROUP,PUBLISH_NOTE_CHILD, map);
|
((ImageExpandableListAdapter) getExpandableListAdapter()).addChild(MESSAGES_GROUP,PUBLISH_NOTE_CHILD, map);
|
||||||
|
|
||||||
//DISABLE until it will be functional
|
//DISABLE until it will be functional
|
||||||
/*final HashMap<String, Object> users = new HashMap<String, Object>();
|
final HashMap<String, Object> users = new HashMap<String, Object>();
|
||||||
users.put(NAME, getString(R.string.users));
|
users.put(NAME, getString(R.string.users));
|
||||||
users.put(IMAGE, getResources().getDrawable(R.drawable.users));
|
users.put(IMAGE, getResources().getDrawable(R.drawable.users));
|
||||||
|
|
||||||
|
@ -620,7 +619,7 @@ public class SWADMain extends MenuExpandableListActivity {
|
||||||
map.put(NAME, getString(R.string.rollcallModuleLabel));
|
map.put(NAME, getString(R.string.rollcallModuleLabel));
|
||||||
map.put(IMAGE, getResources().getDrawable(R.drawable.rollcall));
|
map.put(IMAGE, getResources().getDrawable(R.drawable.rollcall));
|
||||||
child.add(map);
|
child.add(map);
|
||||||
((ImageExpandableListAdapter) getExpandableListAdapter()).addGroup(USERS_GROUP, users, child);*/
|
((ImageExpandableListAdapter) getExpandableListAdapter()).addGroup(USERS_GROUP, users, child);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user