/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
- package sidekick.property;
- import sidekick.Asset;
- import javax.swing.Icon;
- import sidekick.property.parser.property.*;
- public class PropertyAsset extends Asset {
-
- private Property property;
-
- public PropertyAsset(Property prop) {
- super(prop.getKey());
- property = prop;
- }
- public Icon getIcon() { return null; }
- public String getShortString() { return property.getKey(); }
- public String getLongString() { return property.toString(); }
-
- }