1 19 20 package org.netbeans.modules.tasklist.docscan; 21 22 import org.netbeans.modules.tasklist.core.filter.SuggestionProperty; 23 import org.netbeans.modules.tasklist.suggestions.SuggestionImplProperties; 24 25 26 31 public abstract class SourceTaskProperties extends SuggestionImplProperties { 32 33 public static final String PROPID_TASK = PROPID_SUMMARY; 34 35 public static SuggestionProperty getProperty(String propID) { 36 if (propID.equals(PROPID_TASK)) { return PROP_TASK;} 37 else 38 return SuggestionImplProperties.getProperty(propID); 39 } 40 41 public static final SuggestionProperty PROP_TASK = 42 new SuggestionProperty(PROPID_TASK, String .class) { 43 public Object getValue(Object obj) { 44 return SuggestionImplProperties.PROP_SUMMARY.getValue(obj); 45 } 46 }; 47 48 } 49 50 | Popular Tags |