Package com.biglybt.ui.swt.views
Class TaggingView
java.lang.Object
com.biglybt.ui.swt.views.TaggingView
- All Implemented Interfaces:
TagTypeListener
,UISWTViewEventListener
,UISWTViewCoreEventListener
View showing tags set on selected taggable item(s). Sometimes easier than
drag and dropping to buttons/sidebar
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.biglybt.core.tag.TagTypeListener
TagTypeListener.TagEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.widgets.Button
private org.eclipse.swt.widgets.Button
private org.eclipse.swt.widgets.Button
private org.eclipse.swt.widgets.Button
private org.eclipse.swt.widgets.Button
private static CopyOnWriteList<Consumer<String>>
private org.eclipse.swt.widgets.Composite
static final String
private org.eclipse.swt.widgets.Composite
private org.eclipse.swt.custom.ScrolledComposite
private UISWTView
private TagButtonsUI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
private void
delete()
boolean
eventOccurred
(UISWTViewEvent event) Triggers when an even listed in UISWTViewEvent occursprivate void
explain()
private void
private void
private String
getTags()
private void
private void
refresh()
private void
void
void
tagChanged
(Tag changedTag) void
void
tagRemoved
(Tag tag) void
tagTypeChanged
(TagType tag_type) General change not specific to one tagMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.ui.swt.pif.UISWTViewEventListener
informOfDuplicates
-
Field Details
-
MSGID_PREFIX
- See Also:
-
copied_tag_assignment
-
cta_listeners
-
swtView
-
sc
private org.eclipse.swt.custom.ScrolledComposite sc -
taggables
-
parent
private org.eclipse.swt.widgets.Composite parent -
tagButtonsUI
-
buttonCopy
private org.eclipse.swt.widgets.Button buttonCopy -
buttonPaste
private org.eclipse.swt.widgets.Button buttonPaste -
buttonClear
private org.eclipse.swt.widgets.Button buttonClear -
buttonInvert
private org.eclipse.swt.widgets.Button buttonInvert -
buttonExplain
private org.eclipse.swt.widgets.Button buttonExplain -
mainComposite
private org.eclipse.swt.widgets.Composite mainComposite
-
-
Constructor Details
-
TaggingView
public TaggingView()
-
-
Method Details
-
eventOccurred
Description copied from interface:UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs- Specified by:
eventOccurred
in interfaceUISWTViewEventListener
- Parameters:
event
- event that occurred- Returns:
- meaning dependent upon event type
-
focusGained
private void focusGained() -
focusLost
private void focusLost() -
delete
private void delete() -
refresh
private void refresh() -
dataSourceChanged
-
rebuildComposite
private void rebuildComposite() -
getFullTitle
-
swt_updateFields
private void swt_updateFields() -
getTags
-
tagTypeChanged
Description copied from interface:TagTypeListener
General change not specific to one tag- Specified by:
tagTypeChanged
in interfaceTagTypeListener
-
tagEventOccurred
- Specified by:
tagEventOccurred
in interfaceTagTypeListener
-
tagAdded
-
tagChanged
-
tagRemoved
-
explain
private void explain() -
askForNewTag
private void askForNewTag()
-