public static class EditorPopups.GoToSegmentPopup extends java.lang.Object implements IPopupMenuConstructor
Modifier and Type | Field and Description |
---|---|
protected EditorController |
ec |
Constructor and Description |
---|
GoToSegmentPopup(EditorController ec) |
Modifier and Type | Method and Description |
---|---|
void |
addItems(javax.swing.JPopupMenu menu,
javax.swing.text.JTextComponent comp,
int mousepos,
boolean isInActiveEntry,
boolean isInActiveTranslation,
SegmentBuilder sb)
creates a popup menu for inactive segments - with an item allowing to
go to the given segment.
|
protected final EditorController ec
public GoToSegmentPopup(EditorController ec)
public void addItems(javax.swing.JPopupMenu menu, javax.swing.text.JTextComponent comp, int mousepos, boolean isInActiveEntry, boolean isInActiveTranslation, SegmentBuilder sb)
addItems
in interface IPopupMenuConstructor