|
21 | 21 |
|
22 | 22 | import com.google.analytics.tracking.android.EasyTracker;
|
23 | 23 |
|
24 |
| -// TODO (low): think about a strategy to strip out Log.v and Log.d messages for releases |
25 |
| -// TODO (low): start using a SAX parser and build my own MindMap, dynamically build branches when user drills down, truncate branches when they are not used anymore. How will we do Edit Node / Insert Node, if we are using a SAX parser? Maybe we should not go for a SAX parser but find a more efficient DOM parser? |
26 |
| - |
27 |
| -// TODO (low): allow us to open multiple files and display their root nodes and file names in the leftmost column. |
28 |
| -// TODO (medium): long-click on a root node shows a "close file" or "close this mindmap" menu |
29 |
| -// TODO (high): add a progress bar when opening a file (or a spinner or so) |
30 |
| -// TODO (low): can we get built-in icons as SVG? |
31 |
| -// TODO (medium): properly parse rich text nodes |
32 |
| -// TODO (high): implement OnItemLongClickListener with a context menu (show all icons, follow link, copy text, and ultimately also edit) |
33 |
| - |
34 | 24 | /**
|
35 | 25 | * The MainActivity can be started from the App Launcher, or with a File Open
|
36 | 26 | * intent. If the MainApplication was already running, the previously used
|
@@ -81,8 +71,6 @@ public void onCreate(Bundle savedInstanceState) {
|
81 | 71 | String type = intent.getType();
|
82 | 72 |
|
83 | 73 | // if the application was reset, or the document has changed, we need to re-initialize everything
|
84 |
| - // TODO (high): factor this stuff out. we really should have a loadDocument(InputStream) method somewhere |
85 |
| - |
86 | 74 | if ( application.mindmap == null || application.mindmap.document == null
|
87 | 75 | || (application.mindmap.getUri()!=intent.getData() && intent.getData()!=null)
|
88 | 76 | || (intent.getBooleanExtra(INTENT_START_HELP,false))
|
@@ -205,13 +193,6 @@ public void onCreate(Bundle savedInstanceState) {
|
205 | 193 | @Override
|
206 | 194 | public boolean onCreateOptionsMenu(android.view.Menu menu) {
|
207 | 195 |
|
208 |
| - // TODO (low): add "Find" button and menu -> should search underneath the |
209 |
| - // current node (or with an option, under the root node) |
210 |
| - |
211 |
| - // TODO (medium): menu "Open" |
212 |
| - |
213 |
| - // TODO (low): settings (to set the number of horizontal and vertical columns) |
214 |
| - |
215 | 196 | MenuInflater inflater = getMenuInflater();
|
216 | 197 | inflater.inflate(R.menu.main, menu);
|
217 | 198 | return true;
|
@@ -270,7 +251,6 @@ public boolean onOptionsItemSelected(android.view.MenuItem item) {
|
270 | 251 |
|
271 | 252 |
|
272 | 253 | // Handler when an item is long clicked
|
273 |
| - // TODO (high): implement long-click handler |
274 | 254 | // @Override
|
275 | 255 | // public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) {
|
276 | 256 | //
|
|
0 commit comments