Created
January 8, 2018 08:45
-
-
Save Bloofer/6893acc438b55d19f61fbda8a1c8bb92 to your computer and use it in GitHub Desktop.
Deckard clone snippet #2 - AbstractAsyncTableRendering.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (data instanceof MemorySegment) { | |
MemorySegment line = (MemorySegment) data; | |
if (col > 0) { | |
int start = (col - 1) * getBytesPerColumn(); | |
int end = start + getBytesPerColumn(); | |
MemoryByte[] bytes = line.getBytes(start, end); | |
String str = getToolTipText((BigInteger)address, bytes); | |
if (str != null) | |
((Label) toolTipControl).setText(str); | |
} else { | |
String str = getToolTipText((BigInteger)address, | |
new MemoryByte[] {}); | |
if (str != null) | |
((Label) toolTipControl).setText(str); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment