Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » General Properties
General Properties [message #125522] Wed, 05 March 2008 15:41 Go to next message
Eclipse User
Originally posted by: ddesseignet.axway.com

Hello,

I would like to khow if it's possible to recover in a programmatically
way, the "General Properties" filled in the Location file ?

Please, can you provide me a piece of code in order to do that

getGeneralProperties(String parameterName){
...
}

Thanks.

Damien.
Re: General Properties [message #125897 is a reply to message #125522] Mon, 10 March 2008 13:02 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
There is no API for accessing general properties from a location or
artifact. Are you interested in accessing these properties from your test
class?

Currently, the only way to do this would be to load the location EMF
resource and access the general properties. For example, see
org.eclipse.tptp.test.auto.gui.internal.runner.AutoGUIExecEn vAdapter.setupExecutionEnvironment(IExecutionEnvironment,
CFGClass, IImplementor, TPFDeployment).

Paul
"Damien" <ddesseignet@axway.com> wrote in message
news:f7314c40eb4618b97d5398f99e7560fa$1@www.eclipse.org...
> Hello,
> I would like to khow if it's possible to recover in a programmatically
> way, the "General Properties" filled in the Location file ?
>
> Please, can you provide me a piece of code in order to do that
> getGeneralProperties(String parameterName){
> ...
> }
>
> Thanks.
>
> Damien.
>
Previous Topic:http Recording
Next Topic:Verification hook problem
Goto Forum:
  


Current Time: Thu Oct 23 13:23:34 GMT 2014

Powered by FUDForum. Page generated in 0.01931 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software