Package com.biglybt.ui.swt.views.utils
Class LocProvUtils
- java.lang.Object
-
- com.biglybt.ui.swt.views.utils.LocProvUtils
-
- All Implemented Interfaces:
LocationProviderListener
public class LocProvUtils extends java.lang.Object implements LocationProviderListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
LocProvUtils.FlagListener
-
Field Summary
Fields Modifier and Type Field Description private LocationProvider
active_provider
private boolean
cl_installed
private java.util.List<TableColumn>
columns
private Core
core
private static LocProvUtils
singleton
-
Constructor Summary
Constructors Modifier Constructor Description private
LocProvUtils(Core _core)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addColumns()
private java.lang.String
getCountryCode(Peer peer)
private java.lang.String
getCountryName(Peer peer)
static void
initialise(Core core)
void
locationProviderAdded(LocationProvider lp)
void
locationProviderRemoved(LocationProvider lp)
private void
removeColumns()
-
-
-
Field Detail
-
singleton
private static LocProvUtils singleton
-
core
private Core core
-
active_provider
private LocationProvider active_provider
-
cl_installed
private boolean cl_installed
-
columns
private java.util.List<TableColumn> columns
-
-
Constructor Detail
-
LocProvUtils
private LocProvUtils(Core _core)
-
-
Method Detail
-
initialise
public static void initialise(Core core)
-
locationProviderAdded
public void locationProviderAdded(LocationProvider lp)
- Specified by:
locationProviderAdded
in interfaceLocationProviderListener
-
locationProviderRemoved
public void locationProviderRemoved(LocationProvider lp)
- Specified by:
locationProviderRemoved
in interfaceLocationProviderListener
-
getCountryCode
private java.lang.String getCountryCode(Peer peer)
-
getCountryName
private java.lang.String getCountryName(Peer peer)
-
addColumns
private void addColumns()
-
removeColumns
private void removeColumns()
-
-