Package com.biglybt.ui.swt.views
Class TagSettingsView
- java.lang.Object
-
- com.biglybt.ui.swt.views.TagSettingsView
-
- All Implemented Interfaces:
TagTypeListener
,UISWTViewEventListener
,UISWTViewCoreEventListener
public class TagSettingsView extends java.lang.Object implements UISWTViewCoreEventListener, TagTypeListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
TagSettingsView.folderOption
static class
TagSettingsView.Params
-
Nested classes/interfaces inherited from interface com.biglybt.core.tag.TagTypeListener
TagTypeListener.TagEvent
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.widgets.Button
btnResetConstraint
private org.eclipse.swt.widgets.Button
btnSaveConstraint
private static java.lang.String
CM_ADD_ONLY
private static java.lang.String
CM_ADD_REMOVE
private static java.lang.String
CM_NEW_DLS
private static java.lang.String
CM_REMOVE_ONLY
private org.eclipse.swt.widgets.Composite
cMainComposite
private TagSettingsView.Params
params
private org.eclipse.swt.widgets.Composite
parent
private UISWTView
swtView
private Tag[]
tags
static java.lang.String
VIEW_ID
-
Constructor Summary
Constructors Constructor Description TagSettingsView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
buildUI()
private void
dataSourceChanged(java.lang.Object ds)
private void
delete()
boolean
eventOccurred(UISWTViewEvent event)
Triggers when an even listed in UISWTViewEvent occursprivate java.lang.String
getFullTitle()
private void
refresh()
private void
swt_updateFields()
void
tagChanged(Tag changedTag)
void
tagEventOccurred(TagTypeListener.TagEvent event)
void
tagTypeChanged(TagType tag_type)
General change not specific to one tagprivate int
updateIntBoolean(boolean b, int intB)
private void
updateTagSRParams(TagSettingsView.Params params)
-
-
-
Field Detail
-
VIEW_ID
public static final java.lang.String VIEW_ID
- See Also:
- Constant Field Values
-
CM_ADD_REMOVE
private static final java.lang.String CM_ADD_REMOVE
- See Also:
- Constant Field Values
-
CM_ADD_ONLY
private static final java.lang.String CM_ADD_ONLY
- See Also:
- Constant Field Values
-
CM_REMOVE_ONLY
private static final java.lang.String CM_REMOVE_ONLY
- See Also:
- Constant Field Values
-
CM_NEW_DLS
private static final java.lang.String CM_NEW_DLS
- See Also:
- Constant Field Values
-
swtView
private UISWTView swtView
-
parent
private org.eclipse.swt.widgets.Composite parent
-
cMainComposite
private org.eclipse.swt.widgets.Composite cMainComposite
-
tags
private Tag[] tags
-
params
private TagSettingsView.Params params
-
btnSaveConstraint
private org.eclipse.swt.widgets.Button btnSaveConstraint
-
btnResetConstraint
private org.eclipse.swt.widgets.Button btnResetConstraint
-
-
Method Detail
-
eventOccurred
public boolean eventOccurred(UISWTViewEvent event)
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
-
delete
private void delete()
-
refresh
private void refresh()
-
dataSourceChanged
private void dataSourceChanged(java.lang.Object ds)
-
buildUI
private void buildUI()
-
updateTagSRParams
private void updateTagSRParams(TagSettingsView.Params params)
-
updateIntBoolean
private int updateIntBoolean(boolean b, int intB)
-
getFullTitle
private java.lang.String getFullTitle()
-
swt_updateFields
private void swt_updateFields()
-
tagTypeChanged
public void tagTypeChanged(TagType tag_type)
Description copied from interface:TagTypeListener
General change not specific to one tag- Specified by:
tagTypeChanged
in interfaceTagTypeListener
-
tagEventOccurred
public void tagEventOccurred(TagTypeListener.TagEvent event)
- Specified by:
tagEventOccurred
in interfaceTagTypeListener
-
tagChanged
public void tagChanged(Tag changedTag)
-
-