diff options
author | eutarass | 2011-05-13 16:29:02 +0000 |
---|---|---|
committer | eutarass | 2011-05-13 16:29:02 +0000 |
commit | d770c1e40de547f46f9634d66849beb8f7b1b4ce (patch) | |
tree | 8f0ebada29333e32515d554a4069e65ce21f17fd /plugins/org.eclipse.tm.tcf.cdt.ui | |
parent | 3ec42432de95c653bcca03d81b49838dc009bcf1 (diff) | |
download | org.eclipse.tcf-d770c1e40de547f46f9634d66849beb8f7b1b4ce.tar.gz org.eclipse.tcf-d770c1e40de547f46f9634d66849beb8f7b1b4ce.tar.xz org.eclipse.tcf-d770c1e40de547f46f9634d66849beb8f7b1b4ce.zip |
TCF Debugger: changed breakpoint status page to show "Not planted" instead of empty view when the breakpoint is not planted anywhere (e.g. disabled).
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.cdt.ui')
-rw-r--r-- | plugins/org.eclipse.tm.tcf.cdt.ui/src/org/eclipse/tm/internal/tcf/cdt/ui/breakpoints/TCFBreakpointStatusPage.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tm.tcf.cdt.ui/src/org/eclipse/tm/internal/tcf/cdt/ui/breakpoints/TCFBreakpointStatusPage.java b/plugins/org.eclipse.tm.tcf.cdt.ui/src/org/eclipse/tm/internal/tcf/cdt/ui/breakpoints/TCFBreakpointStatusPage.java index dc42f8431..2f946aea6 100644 --- a/plugins/org.eclipse.tm.tcf.cdt.ui/src/org/eclipse/tm/internal/tcf/cdt/ui/breakpoints/TCFBreakpointStatusPage.java +++ b/plugins/org.eclipse.tm.tcf.cdt.ui/src/org/eclipse/tm/internal/tcf/cdt/ui/breakpoints/TCFBreakpointStatusPage.java @@ -299,6 +299,11 @@ public class TCFBreakpointStatusPage extends PropertyPage { if (x != null) roots.add(x);
}
for (StatusCache cache : caches) cache.dispose();
+ if (roots.size() == 0) {
+ StatusItem x = new StatusItem();
+ x.text = "Not planted";
+ roots.add(x);
+ }
done(roots);
}
}.getE();
|