Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jubula-rc-dev] Developing new plugin

Hello Anand,

first of all I'd like to make sure that you only want to extend an existing toolkit rather than creating a new one. Is that correct?

 

Since you said that you were new to RCP development, I recommend to start with some general tutorial concerning plug-in development, like one by Lars Vogel [1], before trying to extend Jubula.

 

Once you have a good feeling about this, you should take our supplied extension manual and extension examples and comprehend that step by step. This should provide you with enough knowledge to create your own small extension.

 

I hope you understand that it is not possible for us to guide you through every detail via this mailing list.

 

Best Regards,

Sebastian Struckmann

 

 

[1] http://www.vogella.com/tutorials/EclipsePlugIn/article.html

 

 

--

BREDEX GmbH

Mauernstr. 33

38100 Braunschweig

 

Tel.: +49-531-24330-0

Fax:  +49-531-24330-99

http: www.bredex.de

 

Geschäftsführer: Andreas Vogel, Ulrich Obst, Achim Lörke

Amtsgericht Braunschweig HRB 2450

 

 

 

 


From: jubula-rc-dev-bounces@xxxxxxxxxxx <jubula-rc-dev-bounces@xxxxxxxxxxx> on behalf of Anand Manjalkar <Anand_Manjalkar@xxxxxxxxxxxx>
Sent: 09 June 2014 12:30
To: jubula-rc-dev@xxxxxxxxxxx
Subject: [jubula-rc-dev] Developing new plugin

 

Hello,

 

I am trying to create a plugin to create new toolkit which can extract a sub string from a long string and save it in an variable.

I have written a method as follow

public class ImageID {

             

              public static String fetchImageId(String logs){

                             String output ="";

                             String input=logs;

                             int beginIndex = input.lastIndexOf("backupid=")+9;

                             System.out.println(input.lastIndexOf("backupid="));

                             System.out.println(input.lastIndexOf(")"));

                             output = input.substring(beginIndex, input.lastIndexOf(") job"));

                             return output;

              }

 

}

 

I want to create a new toolkit using it which returns a string.

Can anybody please help me to achieve this?

I am very new to Jubula and Plugin devlopment.

 

Regards,

Anand Manjalkar

 


Back to the top