/plugins/JavaSideKick/tags/javasidekick-2-3-6/src/sidekick/property/PropertyAsset.java

# · Java · 22 lines · 14 code · 8 blank · 0 comment · 0 complexity · d83836c3b2b5ee3c88a402e1409da220 MD5 · raw file

  1. package sidekick.property;
  2. import sidekick.Asset;
  3. import javax.swing.Icon;
  4. import sidekick.property.parser.property.*;
  5. public class PropertyAsset extends Asset {
  6. private Property property;
  7. public PropertyAsset(Property prop) {
  8. super(prop.getKey());
  9. property = prop;
  10. }
  11. public Icon getIcon() { return null; }
  12. public String getShortString() { return property.getKey(); }
  13. public String getLongString() { return property.toString(); }
  14. }