Changeset 232

Show
Ignore:
Timestamp:
04/25/08 12:57:06 (9 months ago)
Author:
Stuart Thiel
Message:

-Fixed #199
--We now store the current_url being worked with in Vertov. When we make an annotation, we use that value.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • MediAnnotate/trunk/src/org/mediannotate/app/MediAnnotater.java

    r171 r232  
    5656        } 
    5757 
     58         
     59        private static String _parentItemId; 
     60        public static void setParentItem(String parentItemId) { 
     61                _parentItemId = parentItemId; 
     62        } 
     63        public static String getParentItem() { 
     64                return _parentItemId; 
     65        } 
     66        private static String _currenUrl; 
     67        public static String getcurrenUrl() { 
     68                return _currenUrl; 
     69        } 
     70         
    5871        public static void loadMovie(String url, String time) { 
     72                _currenUrl = url; 
    5973                try { 
    6074                        time = time.replace('\n', ' '); //dirty, but effective. Don't want linebreaks screwing this up