Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Extending actions with "parameter" type
Extending actions with "parameter" type [message #1017214] Mon, 11 March 2013 08:05 Go to next message
Carlos Feal is currently offline Carlos FealFriend
Messages: 5
Registered: March 2013
Junior Member
Hi all,

I need to extend a component to add new actions. These actions must have a "parameter" type (as "store" group of actions).
Until now, when implementing extensions, the methods I've used in the server implementation class are of the type:

public void method1 (String param1, String param2, .. String paramN)

And the file componentConfiguration.xml I define input parameters as:
		<action name="actionName">
			<method>method1</method>			
			<param>
			<type>java.lang.String</type>
			</param>
			<param>
			<type>java.lang.String</type>
			</param>
                        ...
			<param>
			<type>java.lang.String</type>
			</param>
		</action>

If you need to return a String instead of void, how componentConfiguration.xml defined so that the String returned is a "parameter" type in Jubula?

The case is that I need to get the last line of a JEditorPane, and I don't want to extend functions (as substring). I want to do a specific action for the component JEditorPane.
Thanks a lot and sorry for my poor English
Re: Extending actions with "parameter" type [message #1017605 is a reply to message #1017214] Tue, 12 March 2013 07:27 Go to previous messageGo to next message
Carlos Feal is currently offline Carlos FealFriend
Messages: 5
Registered: March 2013
Junior Member
Sorry, when I say "parameter" type I mean "variable" type.
Re: Extending actions with "parameter" type [message #1020501 is a reply to message #1017605] Mon, 18 March 2013 10:17 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

I think that this question would be best asked in the dev-list. Can you repost it there?

Thanks!
Alex
Previous Topic:Fail on purpose
Next Topic:Jubula 2.0 (Kepler Preview) and GUIdancer 7.0 have been released
Goto Forum:
  


Current Time: Thu Mar 28 14:51:05 GMT 2024

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

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

Back to the top