485 Commits

Author SHA1 Message Date
jmillman
e157a5b53b only add new cat tag if there is no existing cat tag. put adding and removing fileids to/from group on jfx thread; remove file from groups when adding to new catagory based on new tag 2015-06-25 10:54:28 -04:00
jmillman
ed2fcdf80e better handling of exceptions in event bus eventhandlers 2015-06-25 10:54:05 -04:00
jmillman
8c2f6d274a move classes to better packages; remove FileUpdateEvent 2015-06-25 10:53:32 -04:00
jmillman
f293485a2f remove unneeded interface 2015-06-25 10:52:29 -04:00
jmillman
38732c17ba move DrawableView and GroupPane to a new package 2015-06-25 10:52:27 -04:00
jmillman
d11e4b03d5 reduce duplicate code 2015-06-25 10:51:30 -04:00
jmillman
4b7285ffd8 rename method in CategoryManager to be more descriptive; fix tag and category grouping when tags aer added / removed 2015-06-25 10:50:40 -04:00
jmillman
da0554de6a fix bugs updating tags/categpries in slideshowview and metadata pane
make new abstract base calss DrawableUIBase and move fileid and file object access to it.
2015-06-25 10:50:07 -04:00
jmillman
1f1d59d76f remove uneeded notification code; let event handlers do it all. optionalize DrawableView 2015-06-25 10:48:10 -04:00
jmillman
1665dc11b9 use new Autopsy Tag events, don't fire extra events from ig, but listen to events from autopsy 2015-06-25 10:44:36 -04:00
jmillman
bc33284c68 more granular synchronization in DrawableTagsManager 2015-06-25 10:39:20 -04:00
jmillman
e126aee4cb new Tag event system 2015-06-25 10:38:36 -04:00
jmillman
5432309c2f rename method; add synchronization; remove singletonness from SummaryTablePane 2015-06-25 10:35:59 -04:00
jmillman
e336dccfb2 refactor in GroupManager, to make logic and flow cleaner
split FileUpdateEvent handlers to seperate update and removed methods
name DbWorkerThread, Thread
2015-06-25 10:34:32 -04:00
jmillman
1f813a6708 more work to keep autopsy and ImageGallery tags in sync
add setFiles method to DrawableGroup;
don't clear groups from GroupMap except for CaseChange; reuse groups via setFiles method when regrouping
reselect group in navpanel after regroup
2015-06-25 10:31:33 -04:00
jmillman
2eecaa297e more cleanup of Categories/Tags and listening to autopsy generated "Tag Events"
-remove unused code from Category.java
-use Category.isCategoryTagName instead of .getDisplayName().startsWith(Category.CATEGORY_PREFIX)

-regroup when notified of Tag Change from autopsy
2015-06-25 10:29:22 -04:00
jmillman
e94f29e16d make sure all code is using the correct TagsManager (DrawableTagsManager) from controller; more cleanup 2015-06-25 10:26:31 -04:00
jmillman
1be231107d clean up and refactor code related to Tagging and actions;
move away from singleton by injecting controller rather than using getDefault();
 use EventBus in DrawableTagsManager (used to be TagUtils)

requires equal and hashcode method implemented on TagName
2015-06-25 10:24:08 -04:00
jmillman
cfe44bde9f cleanup Follow Up tag and Category TagNames (prevent short name version from being added, by removing commas) 2015-06-25 10:13:27 -04:00
jmillman
5d73db1836 make new DeleteFollowUpTag action; use Set instead of List to prevent duplicate files in groups 2015-06-25 10:12:13 -04:00
jmillman
f191829cd1 SlideShow toggle is disabled when there is no group selected; fix relative paths to images in fxml 2015-06-25 10:09:51 -04:00
jmillman
5c0085d039 SlideShow toggle is disabled initialy; fix relative paths to images in fxml 2015-06-25 10:09:50 -04:00
jmillman
28e3c015c3 clean up add tag action, use invokeLater not invokeAndWait; getNonCategoryTagNames returns TagNames in alphabetical order by displayname 2015-06-25 10:09:48 -04:00
jmillman
7dba4be3cc only add new cat tag if there is no existing cat tag. put adding and removing fileids to/from group on jfx thread; remove file from groups when adding to new catagory based on new tag 2015-06-25 10:09:23 -04:00
jmillman
ad39755fe4 better handling of exceptions in event bus eventhandlers 2015-06-25 10:09:22 -04:00
jmillman
376c6c4a33 move classes to better packages; remove FileUpdateEvent 2015-06-25 10:09:20 -04:00
jmillman
6434d9e8b9 remove unneeded interface 2015-06-25 10:09:18 -04:00
jmillman
617a4959a0 move DrawableView and GroupPane to a new package 2015-06-25 10:09:16 -04:00
jmillman
e4811246ba reduce duplicate code 2015-06-25 10:09:14 -04:00
jmillman
6fa5b3b14c rename method in CategoryManager to be more descriptive; fix tag and category grouping when tags aer added / removed 2015-06-25 10:09:13 -04:00
jmillman
f1000486b7 fix bugs updating tags/categpries in slideshowview and metadata pane
make new abstract base calss DrawableUIBase and move fileid and file object access to it.
2015-06-25 10:09:11 -04:00
jmillman
13ad8aaaeb remove uneeded notification code; let event handlers do it all. optionalize DrawableView 2015-06-25 10:09:09 -04:00
jmillman
22868333a0 use new Autopsy Tag events, don't fire extra events from ig, but listen to events from autopsy 2015-06-25 10:09:07 -04:00
jmillman
78bab47b34 more granular synchronization in DrawableTagsManager 2015-06-25 10:06:56 -04:00
jmillman
762037c649 new Tag event system 2015-06-25 10:05:42 -04:00
jmillman
9bdaab4f03 more tag/category autopsy integeration
update CategoryCounts, FollowUp and Category border on general Tag Event
use most severe category if multiple categories are present for a file
enforce category ordering via enum declaration order
2015-06-25 10:05:40 -04:00
jmillman
aec6c222e8 rename method; add synchronization; remove singletonness from SummaryTablePane 2015-06-25 10:05:39 -04:00
jmillman
34eb726551 refactor in GroupManager, to make logic and flow cleaner
split FileUpdateEvent handlers to seperate update and removed methods
name DbWorkerThread, Thread
2015-06-25 10:05:05 -04:00
jmillman
6353d3cc0f more work to keep autopsy and ImageGallery tags in sync
add setFiles method to DrawableGroup;
don't clear groups from GroupMap except for CaseChange; reuse groups via setFiles method when regrouping
reselect group in navpanel after regroup
2015-06-25 10:05:03 -04:00
jmillman
2552196891 more cleanup of Categories/Tags and listening to autopsy generated "Tag Events"
-remove unused code from Category.java
-use Category.isCategoryTagName instead of .getDisplayName().startsWith(Category.CATEGORY_PREFIX)

-regroup when notified of Tag Change from autopsy
2015-06-25 10:05:02 -04:00
jmillman
16fe7db1e7 make sure all code is using the correct TagsManager (DrawableTagsManager) from controller; more cleanup 2015-06-25 10:04:33 -04:00
jmillman
d587e1c53e clean up and refactor code related to Tagging and actions;
move away from singleton by injecting controller rather than using getDefault();
 use EventBus in DrawableTagsManager (used to be TagUtils)

requires equal and hashcode method implemented on TagName
2015-06-25 10:04:01 -04:00
jmillman
edfe858dd8 cleanup Follow Up tag and Category TagNames (prevent short name version from being added, by removing commas) 2015-06-25 10:03:14 -04:00
jmillman
e1e5e78bd0 make new DeleteFollowUpTag action; use Set instead of List to prevent duplicate files in groups 2015-06-25 10:03:12 -04:00
jmillman
aff60bd329 fix hashset display
move return out of loop so we get all hashset names; use getHashSetsForFileFromAutopsy directly rather than circuitously through HashSetManager
2015-06-24 12:58:17 -04:00
jmillman
334bd901cd Merge remote-tracking branch 'upstream/develop' into events_tags_categories_rework
Conflicts:
	ImageGallery/src/org/sleuthkit/autopsy/imagegallery/actions/AddTagAction.java
2015-06-24 10:42:50 -04:00
jmillman
5308dc1230 SlideShow toggle is disabled when there is no group selected; fix relative paths to images in fxml 2015-06-24 09:59:23 -04:00
Richard Cordovano
52c9e16f5a Merge pull request #1395 from millmanorama/close_fxmenu_behind_tag_dialog
use SwingUtilities.invokeLater rather than invokeandWait so that show…
2015-06-23 16:30:24 -04:00
jmillman
890d904bad SlideShow toggle is disabled initialy; fix relative paths to images in fxml 2015-06-23 16:23:59 -04:00
jmillman
76cdc7863f clean up add tag action, use invokeLater not invokeAndWait; getNonCategoryTagNames returns TagNames in alphabetical order by displayname 2015-06-23 16:12:55 -04:00