Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 109143 Details for
Bug 243139
Need a way to open stacktrace console with an initial text
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch
debug-patch.txt (text/plain), 1.28 KB, created by
Jacek Pospychala
on 2008-08-05 05:30:18 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Jacek Pospychala
Created:
2008-08-05 05:30:18 EDT
Size:
1.28 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.debug.ui >Index: ui/org/eclipse/jdt/internal/debug/ui/console/JavaStackTraceConsoleFactory.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/console/JavaStackTraceConsoleFactory.java,v >retrieving revision 1.8 >diff -u -r1.8 JavaStackTraceConsoleFactory.java >--- ui/org/eclipse/jdt/internal/debug/ui/console/JavaStackTraceConsoleFactory.java 5 Aug 2005 15:57:56 -0000 1.8 >+++ ui/org/eclipse/jdt/internal/debug/ui/console/JavaStackTraceConsoleFactory.java 5 Aug 2008 08:40:37 -0000 >@@ -43,6 +43,7 @@ > > }); > } >+ > /* (non-Javadoc) > * @see org.eclipse.ui.console.IConsoleFactory#openConsole() > */ >@@ -54,4 +55,16 @@ > } > fConsoleManager.showConsoleView(fConsole); > } >+ >+ public void openConsole(String initialText) { >+ if (fConsole == null) { >+ fConsole = new JavaStackTraceConsole(); >+ fConsole.initializeDocument(); >+ fConsole.getDocument().set(initialText); >+ fConsoleManager.addConsoles(new IConsole[]{fConsole}); >+ } >+ fConsoleManager.showConsoleView(fConsole); >+ } >+ >+ > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243139
: 109143