sidekick.enhanced
Class SourceAsset
java.lang.Object
sidekick.Asset
sidekick.enhanced.SourceAsset
- All Implemented Interfaces:
- IAsset
public class SourceAsset
- extends Asset
SourceAsset: extends sidekick.Asset, provides the nodes for a structure tree
- Version:
- $Revision: 890 $
- Author:
- Martin Raspe
Constructor Summary |
SourceAsset()
|
SourceAsset(java.lang.String name,
int lineNo,
javax.swing.text.Position start)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SourceAsset
public SourceAsset()
SourceAsset
public SourceAsset(java.lang.String name,
int lineNo,
javax.swing.text.Position start)
getLineNo
public int getLineNo()
getIcon
public javax.swing.Icon getIcon()
- Description copied from interface:
IAsset
- Returns the icon to be shown for the asset in the structure tree.
setIcon
public void setIcon(javax.swing.ImageIcon icon)
get_type
public int get_type()
getShortString
public java.lang.String getShortString()
- Description copied from interface:
IAsset
- Returns a brief description of the asset to be shown in the tree.
This string is displayed in the jEdit status bar and optionally in
a tool tip (if the user has the 'show tool tips' option turned on).
getLongString
public java.lang.String getLongString()
- Description copied from interface:
IAsset
- Returns a full description of the asset to be shown in the view's
status bar on when the mouse is over the asset in the tree. Only
the first line of this message will be shown in the status bar. The
full text will be displayed in the built-in status window (if the user
has the 'show status window' option turned on).
getShortDescription
public java.lang.String getShortDescription()
getLongDescription
public java.lang.String getLongDescription()
setShort
public void setShort(java.lang.String shortDesc)
setLong
public void setLong(java.lang.String longDesc)
setShortDescription
public void setShortDescription(java.lang.String shortDesc)
setLongDescription
public void setLongDescription(java.lang.String longDesc)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object