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 80346 Details for
Bug 197297
Problems with the process console when attaching to an agent
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]
Add configureConsole to IProcess interface
execution_patch.txt (text/plain), 2.41 KB, created by
Stanislav Polevic
on 2007-10-15 08:00:27 EDT
(
hide
)
Description:
Add configureConsole to IProcess interface
Filename:
MIME Type:
Creator:
Stanislav Polevic
Created:
2007-10-15 08:00:27 EDT
Size:
2.41 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.execution >Index: src/org/eclipse/tptp/platform/execution/client/core/IProcess.java >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.execution/src/org/eclipse/tptp/platform/execution/client/core/IProcess.java,v >retrieving revision 1.17 >diff -u -r1.17 IProcess.java >--- src/org/eclipse/tptp/platform/execution/client/core/IProcess.java 23 Apr 2007 03:35:46 -0000 1.17 >+++ src/org/eclipse/tptp/platform/execution/client/core/IProcess.java 15 Oct 2007 11:53:57 -0000 >@@ -113,6 +113,12 @@ > * Retrieves the console of this Process instance. > */ > public IConsole getConsole(); >+ >+ /** >+ * Configures console of this Process instance. >+ */ >+ public void configureConsole(); >+ > /** > * Set an environment variable to this process. > */ >Index: src/org/eclipse/tptp/platform/execution/client/core/internal/ProcessImpl.java >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.execution/src/org/eclipse/tptp/platform/execution/client/core/internal/ProcessImpl.java,v >retrieving revision 1.23 >diff -u -r1.23 ProcessImpl.java >--- src/org/eclipse/tptp/platform/execution/client/core/internal/ProcessImpl.java 22 Aug 2007 16:47:03 -0000 1.23 >+++ src/org/eclipse/tptp/platform/execution/client/core/internal/ProcessImpl.java 15 Oct 2007 11:53:57 -0000 >@@ -555,17 +555,7 @@ > { > try > { >- if(this.getConsole() == null) >- { >- this._console = new ConsoleImpl(); >- this._console.setAC(this._ac); >- this._console.setTPTPAC(true); >- } >- if(this._console.getAC() == null) >- { >- this._console.setAC(this._ac); >- this._console.setTPTPAC(true); >- } >+ configureConsole(); > > //Get the PC destID > this._destID = getDestID(); >@@ -602,6 +592,20 @@ > e.printStackTrace(); > } > } >+ >+ public void configureConsole() { >+ if(this.getConsole() == null) >+ { >+ this._console = new ConsoleImpl(); >+ this._console.setAC(this._ac); >+ this._console.setTPTPAC(true); >+ } >+ if(this._console.getAC() == null) >+ { >+ this._console.setAC(this._ac); >+ this._console.setTPTPAC(true); >+ } >+ } > //To Do > public void handleCommand(ICommandElement command) > {
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 197297
:
80346
|
80347
|
80353
|
80354
|
84867
|
84868