19 package org.sleuthkit.autopsy.datamodel;
 
   21 import java.util.ArrayList;
 
   22 import java.util.List;
 
   23 import javax.swing.Action;
 
   24 import org.apache.commons.lang3.tuple.Pair;
 
   25 import org.openide.nodes.Sheet;
 
   26 import org.openide.util.NbBundle;
 
   46     static String nameForPool(Pool pool) {
 
   47         return pool.getType().
getName();
 
   58         String poolName = nameForPool(pool);
 
   59         this.setDisplayName(poolName);
 
   61         this.setIconBaseWithExtension(
"org/sleuthkit/autopsy/images/pool-icon.png"); 
 
   73         List<Action> actionsList = 
new ArrayList<>();
 
   75         for (Action a : super.getActions(
true)) {
 
   79         return actionsList.toArray(
new Action[actionsList.size()]);
 
   84         "PoolNode.createSheet.name.name=Name",
 
   85         "PoolNode.createSheet.name.displayName=Name",
 
   86         "PoolNode.createSheet.name.desc=no description",
 
   87         "PoolNode.createSheet.type.name=Type",
 
   88         "PoolNode.createSheet.type.displayName=Type",
 
   89         "PoolNode.createSheet.type.desc=no description",
 
   93         Sheet sheet = super.createSheet();
 
   94         Sheet.Set sheetSet = sheet.get(Sheet.PROPERTIES);
 
   95         if (sheetSet == null) {
 
   96             sheetSet = Sheet.createPropertiesSet();
 
  101         sheetSet.put(
new NodeProperty<>(Bundle.PoolNode_createSheet_name_name(),
 
  102                 Bundle.PoolNode_createSheet_name_displayName(),
 
  103                 Bundle.PoolNode_createSheet_name_desc(),
 
  104                 this.getDisplayName()));
 
  105         sheetSet.put(
new NodeProperty<>(Bundle.PoolNode_createSheet_type_name(),
 
  106                 Bundle.PoolNode_createSheet_type_displayName(),
 
  107                 Bundle.PoolNode_createSheet_type_desc(),
 
  108                 pool.getType().getName()));
 
  114     public <T> T accept(ContentNodeVisitor<T> visitor) {
 
  115         return visitor.visit(
this);
 
  125         return visitor.
visit(
this);
 
  130         return getClass().getName();
 
  142         return new ArrayList<>();
 
Action[] getActions(boolean popup)
List< Tag > getAllTagsFromDatabase()
T visit(DataSourceFilesNode in)
DataResultViewerTable.HasCommentStatus getCommentProperty(List< Tag > tags, CorrelationAttributeInstance attribute)
Pair< Long, String > getCountPropertyAndDescription(CorrelationAttributeInstance.Type attributeType, String attributeValue, String defaultDescription)
CorrelationAttributeInstance getCorrelationAttributeInstance()
static final String NO_DESCR