Package com.biglybt.ui.swt
Class LocaleUtilSWT
- java.lang.Object
-
- com.biglybt.ui.swt.LocaleUtilSWT
-
- All Implemented Interfaces:
LocaleUtilListener
public class LocaleUtilSWT extends java.lang.Object implements LocaleUtilListener
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.Object
remembered_on_behalf_of
protected static LocaleUtilDecoder
rememberedDecoder
protected static boolean
rememberEncodingDecision
-
Constructor Summary
Constructors Constructor Description LocaleUtilSWT(Core core)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
abandonSelection(org.eclipse.swt.widgets.Shell s)
LocaleUtilDecoderCandidate
selectDecoder(LocaleUtil locale_util, java.lang.Object decision_owner, java.util.List<LocaleUtilDecoderCandidate> candidates, boolean forceAsk)
private void
setSelectedIndex(org.eclipse.swt.widgets.Shell s, org.eclipse.swt.widgets.Table table, org.eclipse.swt.widgets.Button checkBox, LocaleUtilDecoderCandidate[] candidates, LocaleUtilDecoderCandidate[] selected_candidate)
private void
showChoosableEncodingWindow(org.eclipse.swt.widgets.Shell shell, LocaleUtilDecoderCandidate[] candidates, LocaleUtilDecoderCandidate[] selected_candidate)
-
-
-
Field Detail
-
rememberEncodingDecision
protected static boolean rememberEncodingDecision
-
rememberedDecoder
protected static LocaleUtilDecoder rememberedDecoder
-
remembered_on_behalf_of
protected static java.lang.Object remembered_on_behalf_of
-
-
Constructor Detail
-
LocaleUtilSWT
public LocaleUtilSWT(Core core)
-
-
Method Detail
-
selectDecoder
public LocaleUtilDecoderCandidate selectDecoder(LocaleUtil locale_util, java.lang.Object decision_owner, java.util.List<LocaleUtilDecoderCandidate> candidates, boolean forceAsk) throws LocaleUtilEncodingException
- Specified by:
selectDecoder
in interfaceLocaleUtilListener
- Throws:
LocaleUtilEncodingException
-
showChoosableEncodingWindow
private void showChoosableEncodingWindow(org.eclipse.swt.widgets.Shell shell, LocaleUtilDecoderCandidate[] candidates, LocaleUtilDecoderCandidate[] selected_candidate)
-
setSelectedIndex
private void setSelectedIndex(org.eclipse.swt.widgets.Shell s, org.eclipse.swt.widgets.Table table, org.eclipse.swt.widgets.Button checkBox, LocaleUtilDecoderCandidate[] candidates, LocaleUtilDecoderCandidate[] selected_candidate)
-
abandonSelection
private void abandonSelection(org.eclipse.swt.widgets.Shell s)
-
-