public class TagReferenceAction extends BaseAction
RelativePathProvider
can be provided in order to generate relative paths instead of absolute paths.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLOSE_DELIM |
protected TextlikeComponent |
comp |
static java.lang.String |
OPEN_DELIM |
protected TagReferenceSelectionFactory |
selFactory |
Constructor and Description |
---|
TagReferenceAction(TextlikeComponent comp) |
TagReferenceAction(TextlikeComponent comp,
RelativePathProvider relProvider) |
TagReferenceAction(TextlikeComponent comp,
RelativePathProvider relProvider,
TagReferenceSelectionFactory selComponentFactory) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt) |
javax.swing.JButton |
createButton() |
protected java.awt.Component |
getParentComponent() |
protected TagSelectionComponent |
getSelectionComponent()
Gets the selection component, calling createSelectionComponent if necessary.
|
protected void |
init() |
void |
reset(TextlikeComponent area) |
void |
setCloseDelim(java.lang.String closeDelim) |
void |
setOpenDelim(java.lang.String openDelim) |
void |
setSelectionComponentFactory(TagReferenceSelectionFactory factory) |
protected void |
setText(java.lang.String s) |
void |
setToStringFull(boolean toStringFull) |
createButton, createButton, evaluateEnabled, listenTo, listenTo, setBundleKey, setIcon, updateEnabled
protected TagReferenceSelectionFactory selFactory
protected TextlikeComponent comp
public static final java.lang.String OPEN_DELIM
public static final java.lang.String CLOSE_DELIM
public TagReferenceAction(TextlikeComponent comp)
public TagReferenceAction(TextlikeComponent comp, RelativePathProvider relProvider)
public TagReferenceAction(TextlikeComponent comp, RelativePathProvider relProvider, TagReferenceSelectionFactory selComponentFactory)
public javax.swing.JButton createButton()
protected void init()
protected final TagSelectionComponent getSelectionComponent()
public void setSelectionComponentFactory(TagReferenceSelectionFactory factory)
protected void setText(java.lang.String s)
public void reset(TextlikeComponent area)
public void actionPerformed(java.awt.event.ActionEvent evt)
protected java.awt.Component getParentComponent()
public void setOpenDelim(java.lang.String openDelim)
public void setCloseDelim(java.lang.String closeDelim)
public void setToStringFull(boolean toStringFull)