Package com.biglybt.ui.swt.shells
Class RemotePairingWindow
- java.lang.Object
-
- com.biglybt.ui.swt.shells.RemotePairingWindow
-
- All Implemented Interfaces:
PairingManagerListener
public class RemotePairingWindow extends java.lang.Object implements PairingManagerListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RemotePairingWindow.testPairingClass
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
accessCode
private boolean
alreadyTested
private org.eclipse.swt.widgets.Control
control
private static boolean
DEBUG
private java.lang.String
fallBackStatusText
private org.eclipse.swt.graphics.Font
fontCode
private boolean
hideCode
(package private) static RemotePairingWindow
instance
private java.lang.String
lastPairingTestError
private PairingManager
pairingManager
private PairingTest
pairingTest
private static java.lang.String
PLUGINID_WEBUI
private static boolean
SHOW_SPEW
private SWTSkin
skin
private SkinnedDialog
skinnedDialog
private SWTSkinObject
soCode
private SWTSkinObject
soCodeArea
private SWTSkinObjectButton
soEnablePairing
private SWTSkinObject
soFTUX
private SWTSkinObjectImage
soQR
private SWTSkinObjectText
soStatusText
private SWTSkinObjectText
soToClipboard
private java.lang.String
storedToClipboardText
private static RemotePairingWindow.testPairingClass
testPairingClass
private static boolean
USE_OUR_QR
-
Constructor Summary
Constructors Constructor Description RemotePairingWindow()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_open()
private void
finishFailedTest()
private PluginInterface
getWebUI()
protected void
installWebUI()
boolean
isCodeVisible()
static void
open()
void
setCodeVisible(boolean hideCode)
protected void
setStatusToException(java.lang.Exception e)
private void
setupQR(java.lang.String ac)
private void
setupQR_URL(java.lang.String ac)
void
somethingChanged(PairingManager pm)
void
switchToCode()
void
switchToFTUX()
protected void
testPairing(boolean delay)
protected void
updateToolTip()
-
-
-
Field Detail
-
PLUGINID_WEBUI
private static final java.lang.String PLUGINID_WEBUI
- See Also:
- Constant Field Values
-
SHOW_SPEW
private static final boolean SHOW_SPEW
- See Also:
- Constant Field Values
-
DEBUG
private static final boolean DEBUG
- See Also:
- Constant Field Values
-
USE_OUR_QR
private static final boolean USE_OUR_QR
- See Also:
- Constant Field Values
-
instance
static RemotePairingWindow instance
-
skinnedDialog
private SkinnedDialog skinnedDialog
-
skin
private SWTSkin skin
-
soEnablePairing
private SWTSkinObjectButton soEnablePairing
-
pairingManager
private PairingManager pairingManager
-
soCodeArea
private SWTSkinObject soCodeArea
-
fontCode
private org.eclipse.swt.graphics.Font fontCode
-
accessCode
private java.lang.String accessCode
-
control
private org.eclipse.swt.widgets.Control control
-
soStatusText
private SWTSkinObjectText soStatusText
-
soFTUX
private SWTSkinObject soFTUX
-
soCode
private SWTSkinObject soCode
-
soToClipboard
private SWTSkinObjectText soToClipboard
-
hideCode
private boolean hideCode
-
fallBackStatusText
private java.lang.String fallBackStatusText
-
testPairingClass
private static RemotePairingWindow.testPairingClass testPairingClass
-
pairingTest
private PairingTest pairingTest
-
alreadyTested
private boolean alreadyTested
-
storedToClipboardText
private java.lang.String storedToClipboardText
-
lastPairingTestError
private java.lang.String lastPairingTestError
-
soQR
private SWTSkinObjectImage soQR
-
-
Method Detail
-
open
public static void open()
-
getWebUI
private PluginInterface getWebUI()
-
_open
private void _open()
-
setupQR
private void setupQR(java.lang.String ac)
-
setupQR_URL
private void setupQR_URL(java.lang.String ac)
-
switchToFTUX
public void switchToFTUX()
-
switchToCode
public void switchToCode()
-
testPairing
protected void testPairing(boolean delay)
-
setStatusToException
protected void setStatusToException(java.lang.Exception e)
-
updateToolTip
protected void updateToolTip()
- Since:
- 4.1.0.5
-
finishFailedTest
private void finishFailedTest()
-
installWebUI
protected void installWebUI()
-
somethingChanged
public void somethingChanged(PairingManager pm)
- Specified by:
somethingChanged
in interfacePairingManagerListener
-
isCodeVisible
public boolean isCodeVisible()
-
setCodeVisible
public void setCodeVisible(boolean hideCode)
-
-