Issue #1193 Fixed sampling resource input handler so it is added at higher priority than tools
Change-Id: I3818eefaf756f049173664a70286af057bfa33e8 Former-commit-id:c4e97cfdde
[formerly 8914baa18e7a95a999dc56f3eef0496d513e255c] Former-commit-id:a1857c6a43
This commit is contained in:
parent
fc48cdc5e7
commit
cfce157801
1 changed files with 9 additions and 11 deletions
|
@ -148,8 +148,8 @@ public class SamplingResource extends
|
||||||
protected void initInternal(IGraphicsTarget target) throws VizException {
|
protected void initInternal(IGraphicsTarget target) throws VizException {
|
||||||
IDisplayPaneContainer container = getResourceContainer();
|
IDisplayPaneContainer container = getResourceContainer();
|
||||||
if (container != null) {
|
if (container != null) {
|
||||||
container
|
container.registerMouseHandler(inputAdapter,
|
||||||
.registerMouseHandler(inputAdapter, InputPriority.RESOURCE);
|
InputPriority.SYSTEM_RESOURCE);
|
||||||
}
|
}
|
||||||
hoverFont = target.initializeFont(getClass().getName());
|
hoverFont = target.initializeFont(getClass().getName());
|
||||||
}
|
}
|
||||||
|
@ -392,12 +392,10 @@ public class SamplingResource extends
|
||||||
String s = split[j];
|
String s = split[j];
|
||||||
if (s.length() + line.length() <= approxLenPerStr) {
|
if (s.length() + line.length() <= approxLenPerStr) {
|
||||||
if (!s.isEmpty()) {
|
if (!s.isEmpty()) {
|
||||||
if (j == split.length -1 && split[1].equalsIgnoreCase("="))
|
if (j == split.length - 1
|
||||||
{
|
&& split[1].equalsIgnoreCase("=")) {
|
||||||
line = split[split.length - 1];
|
line = split[split.length - 1];
|
||||||
}
|
} else {
|
||||||
else
|
|
||||||
{
|
|
||||||
line += " " + s;
|
line += " " + s;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue