Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Adding new attributs for recording and playing back the table items
Adding new attributs for recording and playing back the table items [message #139734] Tue, 27 January 2009 12:47 Go to next message
Asha is currently offline AshaFriend
Messages: 28
Registered: July 2009
Junior Member
Hi,

For recording and Playback of JFace Cell Editor item, we have to add a
set of new attributes to the <command> element in the recorded XML
script, for storing the parent (Table) control information.


<--------------
// Reference ID if Object Mine used
public static final String PARENT_REFERENCE_ID_ATTRIBUTE =
"parent-referenceId";
// If Object Mine not used, the Resolver ID
public static final String PARENT_RESOLVER_ATTRIBUTE = "parent-resolverId";
// If Object Mine not used, the Context ID
public static final String PARENT_CONTEXT_ID_ATTRIBUTE =
"parent-contextId";
// If Object Mine not used, the Widget ID
public static final String PARENT_WIDGET_ID_ATTRIBUTE = "parent-widgetId";
// The column and row of the parent Table.
public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";

------------------>

Can anyone tell me how to add those in <command>. I m using objectmine

<--------My recorded XML is -------------->

<macro version="1.0">
<shell descriptive="Workspace - ReadiONE - sdfs/src/test.testsuite -
E..." referenceId="0" return-code="0">
<command type="select" referenceId="87"/>
</shell>
<shell descriptive="Person Editor" referenceId="89" return-code="0">
<command type="focus" referenceId="91"/>
<command type="focus" referenceId="90"/>
<command descriptive="AA" type="choice-select" referenceId="90"
choiceId="item#0"/>
<command descriptive="AA" type="focus" referenceId="93"/>
<command descriptive="Name" type="item-select" referenceId="91">
<item referenceId="96"/>
</command>
<command descriptive="4 - 7" type="choice-select" referenceId="93"
choiceId="item#2"/>
<command descriptive="Name" type="item-select" referenceId="91">
<item referenceId="92"/>
</command>
<command descriptive="0 - 3" type="choice-select" referenceId="93"
choiceId="item#1"/>
</shell>
</macro>
Re: Adding new attributs for recording and playing back the table items [message #139746 is a reply to message #139734] Wed, 28 January 2009 11:52 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Asha,
You would have to modify the AGR recorder component to capture and emit
these new attributes. There is no extensibility in the AGR to support this.

Paul
"Asha " <asha@readiminds.com> wrote in message
news:3e25cf081e948d011d15e47d608908b7$1@www.eclipse.org...
> Hi,
>
> For recording and Playback of JFace Cell Editor item, we have to add a
> set of new attributes to the <command> element in the recorded XML
> script, for storing the parent (Table) control information.
>
> <--------------
> // Reference ID if Object Mine used
> public static final String PARENT_REFERENCE_ID_ATTRIBUTE =
> "parent-referenceId";
> // If Object Mine not used, the Resolver ID
> public static final String PARENT_RESOLVER_ATTRIBUTE =
> "parent-resolverId";
> // If Object Mine not used, the Context ID
> public static final String PARENT_CONTEXT_ID_ATTRIBUTE =
> "parent-contextId";
> // If Object Mine not used, the Widget ID
> public static final String PARENT_WIDGET_ID_ATTRIBUTE = "parent-widgetId";
> // The column and row of the parent Table.
> public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
> public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";
>
> ------------------>
>
> Can anyone tell me how to add those in <command>. I m using objectmine
>
> <--------My recorded XML is -------------->
>
> <macro version="1.0">
> <shell descriptive="Workspace - ReadiONE - sdfs/src/test.testsuite - E..."
> referenceId="0" return-code="0">
> <command type="select" referenceId="87"/>
> </shell>
> <shell descriptive="Person Editor" referenceId="89" return-code="0">
> <command type="focus" referenceId="91"/>
> <command type="focus" referenceId="90"/>
> <command descriptive="AA" type="choice-select" referenceId="90"
> choiceId="item#0"/>
> <command descriptive="AA" type="focus" referenceId="93"/>
> <command descriptive="Name" type="item-select" referenceId="91">
> <item referenceId="96"/>
> </command>
> <command descriptive="4 - 7" type="choice-select" referenceId="93"
> choiceId="item#2"/>
> <command descriptive="Name" type="item-select" referenceId="91">
> <item referenceId="92"/>
> </command>
> <command descriptive="0 - 3" type="choice-select" referenceId="93"
> choiceId="item#1"/>
> </shell>
> </macro>
>
>
>
>
>
Re: Adding new attributs for recording and playing back the table items [message #139757 is a reply to message #139746] Wed, 28 January 2009 12:14 Go to previous messageGo to next message
Asha is currently offline AshaFriend
Messages: 28
Registered: July 2009
Junior Member
Hi Paul,
Thanks for ur reply.which AGR Component i have to modify? There
its written that we have to add these attributes in recorded xml.can u plz
clarify where i have to modify.

Regards,

Asha


Paul Slauenwhite wrote:

> Hi Asha,
> You would have to modify the AGR recorder component to capture and emit
> these new attributes. There is no extensibility in the AGR to support this.

> Paul
> "Asha " <asha@readiminds.com> wrote in message
> news:3e25cf081e948d011d15e47d608908b7$1@www.eclipse.org...
>> Hi,
>>
>> For recording and Playback of JFace Cell Editor item, we have to add a
>> set of new attributes to the <command> element in the recorded XML
>> script, for storing the parent (Table) control information.
>>
>> <--------------
>> // Reference ID if Object Mine used
>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE =
>> "parent-referenceId";
>> // If Object Mine not used, the Resolver ID
>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>> "parent-resolverId";
>> // If Object Mine not used, the Context ID
>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE =
>> "parent-contextId";
>> // If Object Mine not used, the Widget ID
>> public static final String PARENT_WIDGET_ID_ATTRIBUTE = "parent-widgetId";
>> // The column and row of the parent Table.
>> public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
>> public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";
>>
>> ------------------>
>>
>> Can anyone tell me how to add those in <command>. I m using objectmine
>>
>> <--------My recorded XML is -------------->
>>
>> <macro version="1.0">
>> <shell descriptive="Workspace - ReadiONE - sdfs/src/test.testsuite - E..."
>> referenceId="0" return-code="0">
>> <command type="select" referenceId="87"/>
>> </shell>
>> <shell descriptive="Person Editor" referenceId="89" return-code="0">
>> <command type="focus" referenceId="91"/>
>> <command type="focus" referenceId="90"/>
>> <command descriptive="AA" type="choice-select" referenceId="90"
>> choiceId="item#0"/>
>> <command descriptive="AA" type="focus" referenceId="93"/>
>> <command descriptive="Name" type="item-select" referenceId="91">
>> <item referenceId="96"/>
>> </command>
>> <command descriptive="4 - 7" type="choice-select" referenceId="93"
>> choiceId="item#2"/>
>> <command descriptive="Name" type="item-select" referenceId="91">
>> <item referenceId="92"/>
>> </command>
>> <command descriptive="0 - 3" type="choice-select" referenceId="93"
>> choiceId="item#1"/>
>> </shell>
>> </macro>
>>
>>
>>
>>
>>
Re: Adding new attributs for recording and playing back the table items [message #139779 is a reply to message #139757] Thu, 29 January 2009 11:31 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Asha,
I would start in the org.eclipse.tptp.test.auto.gui.internal.macro and
org.eclipse.tptp.test.auto.gui.internal.codegen packages of the
org.eclipse.tptp.test.auto.gui plug-in.

Paul
"Asha " <asha@readiminds.com> wrote in message
news:a17f423716be8235e89a9dd09edf4ac9$1@www.eclipse.org...
> Hi Paul,
> Thanks for ur reply.which AGR Component i have to modify? There
> its written that we have to add these attributes in recorded xml.can u plz
> clarify where i have to modify.
>
> Regards,
>
> Asha
>
> Paul Slauenwhite wrote:
>
>> Hi Asha,
>> You would have to modify the AGR recorder component to capture and
>> emit these new attributes. There is no extensibility in the AGR to
>> support this.
>
>> Paul
>> "Asha " <asha@readiminds.com> wrote in message
>> news:3e25cf081e948d011d15e47d608908b7$1@www.eclipse.org...
>>> Hi,
>>>
>>> For recording and Playback of JFace Cell Editor item, we have to add
>>> a set of new attributes to the <command> element in the recorded XML
>>> script, for storing the parent (Table) control information.
>>>
>>> <--------------
>>> // Reference ID if Object Mine used
>>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE =
>>> "parent-referenceId";
>>> // If Object Mine not used, the Resolver ID
>>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>>> "parent-resolverId";
>>> // If Object Mine not used, the Context ID
>>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE =
>>> "parent-contextId";
>>> // If Object Mine not used, the Widget ID
>>> public static final String PARENT_WIDGET_ID_ATTRIBUTE =
>>> "parent-widgetId";
>>> // The column and row of the parent Table.
>>> public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
>>> public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";
>>>
>>> ------------------>
>>>
>>> Can anyone tell me how to add those in <command>. I m using objectmine
>>>
>>> <--------My recorded XML is -------------->
>>>
>>> <macro version="1.0">
>>> <shell descriptive="Workspace - ReadiONE - sdfs/src/test.testsuite -
>>> E..." referenceId="0" return-code="0">
>>> <command type="select" referenceId="87"/>
>>> </shell>
>>> <shell descriptive="Person Editor" referenceId="89" return-code="0">
>>> <command type="focus" referenceId="91"/>
>>> <command type="focus" referenceId="90"/>
>>> <command descriptive="AA" type="choice-select" referenceId="90"
>>> choiceId="item#0"/>
>>> <command descriptive="AA" type="focus" referenceId="93"/>
>>> <command descriptive="Name" type="item-select" referenceId="91">
>>> <item referenceId="96"/>
>>> </command>
>>> <command descriptive="4 - 7" type="choice-select" referenceId="93"
>>> choiceId="item#2"/>
>>> <command descriptive="Name" type="item-select" referenceId="91">
>>> <item referenceId="92"/>
>>> </command>
>>> <command descriptive="0 - 3" type="choice-select" referenceId="93"
>>> choiceId="item#1"/>
>>> </shell>
>>> </macro>
>>>
>>>
>>>
>>>
>>>
>
>
Re: Adding new attributs for recording and playing back the table items [message #139789 is a reply to message #139779] Thu, 29 January 2009 14:04 Go to previous messageGo to next message
Asha is currently offline AshaFriend
Messages: 28
Registered: July 2009
Junior Member
Hi Paul,
Thanks for ur reply. There are so many class file in these
packages, which class files i have to modify? plz reply soon

Paul Slauenwhite wrote:

> Hi Asha,
> I would start in the org.eclipse.tptp.test.auto.gui.internal.macro and
> org.eclipse.tptp.test.auto.gui.internal.codegen packages of the
> org.eclipse.tptp.test.auto.gui plug-in.

> Paul
> "Asha " <asha@readiminds.com> wrote in message
> news:a17f423716be8235e89a9dd09edf4ac9$1@www.eclipse.org...
>> Hi Paul,
>> Thanks for ur reply.which AGR Component i have to modify? There
>> its written that we have to add these attributes in recorded xml.can u plz
>> clarify where i have to modify.
>>
>> Regards,
>>
>> Asha
>>
>> Paul Slauenwhite wrote:
>>
>>> Hi Asha,
>>> You would have to modify the AGR recorder component to capture and
>>> emit these new attributes. There is no extensibility in the AGR to
>>> support this.
>>
>>> Paul
>>> "Asha " <asha@readiminds.com> wrote in message
>>> news:3e25cf081e948d011d15e47d608908b7$1@www.eclipse.org...
>>>> Hi,
>>>>
>>>> For recording and Playback of JFace Cell Editor item, we have to add
>>>> a set of new attributes to the <command> element in the recorded XML
>>>> script, for storing the parent (Table) control information.
>>>>
>>>> <--------------
>>>> // Reference ID if Object Mine used
>>>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE =
>>>> "parent-referenceId";
>>>> // If Object Mine not used, the Resolver ID
>>>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>>>> "parent-resolverId";
>>>> // If Object Mine not used, the Context ID
>>>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE =
>>>> "parent-contextId";
>>>> // If Object Mine not used, the Widget ID
>>>> public static final String PARENT_WIDGET_ID_ATTRIBUTE =
>>>> "parent-widgetId";
>>>> // The column and row of the parent Table.
>>>> public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
>>>> public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";
>>>>
>>>> ------------------>
>>>>
>>>> Can anyone tell me how to add those in <command>. I m using objectmine
>>>>
>>>> <--------My recorded XML is -------------->
>>>>
>>>> <macro version="1.0">
>>>> <shell descriptive="Workspace - ReadiONE - sdfs/src/test.testsuite -
>>>> E..." referenceId="0" return-code="0">
>>>> <command type="select" referenceId="87"/>
>>>> </shell>
>>>> <shell descriptive="Person Editor" referenceId="89" return-code="0">
>>>> <command type="focus" referenceId="91"/>
>>>> <command type="focus" referenceId="90"/>
>>>> <command descriptive="AA" type="choice-select" referenceId="90"
>>>> choiceId="item#0"/>
>>>> <command descriptive="AA" type="focus" referenceId="93"/>
>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>> <item referenceId="96"/>
>>>> </command>
>>>> <command descriptive="4 - 7" type="choice-select" referenceId="93"
>>>> choiceId="item#2"/>
>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>> <item referenceId="92"/>
>>>> </command>
>>>> <command descriptive="0 - 3" type="choice-select" referenceId="93"
>>>> choiceId="item#1"/>
>>>> </shell>
>>>> </macro>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
Re: Adding new attributs for recording and playing back the table items [message #139800 is a reply to message #139789] Fri, 30 January 2009 11:41 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Asha,
Start with
/org.eclipse.tptp.test.auto.gui/src/org/eclipse/tptp/test/au to/gui/internal/macro/MacroConstants.java
and search for uses of the
org.eclipse.tptp.test.auto.gui.internal.macro.MacroConstants .COMMAND_ELEMENT
field. For example,
org.eclipse.tptp.test.auto.gui.internal.commands.AbstractMac roCommand.write(int,
StringBuffer, boolean, boolean).

Paul
"Asha " <asha@readiminds.com> wrote in message
news:43514242fb171e069d839181d43d952b$1@www.eclipse.org...
> Hi Paul,
> Thanks for ur reply. There are so many class file in these
> packages, which class files i have to modify? plz reply soon
>
> Paul Slauenwhite wrote:
>
>> Hi Asha,
>> I would start in the org.eclipse.tptp.test.auto.gui.internal.macro
>> and org.eclipse.tptp.test.auto.gui.internal.codegen packages of the
>> org.eclipse.tptp.test.auto.gui plug-in.
>
>> Paul
>> "Asha " <asha@readiminds.com> wrote in message
>> news:a17f423716be8235e89a9dd09edf4ac9$1@www.eclipse.org...
>>> Hi Paul,
>>> Thanks for ur reply.which AGR Component i have to modify? There
>>> its written that we have to add these attributes in recorded xml.can u
>>> plz clarify where i have to modify.
>>>
>>> Regards,
>>>
>>> Asha
>>>
>>> Paul Slauenwhite wrote:
>>>
>>>> Hi Asha,
>>>> You would have to modify the AGR recorder component to capture and
>>>> emit these new attributes. There is no extensibility in the AGR to
>>>> support this.
>>>
>>>> Paul
>>>> "Asha " <asha@readiminds.com> wrote in message
>>>> news:3e25cf081e948d011d15e47d608908b7$1@www.eclipse.org...
>>>>> Hi,
>>>>>
>>>>> For recording and Playback of JFace Cell Editor item, we have to
>>>>> add a set of new attributes to the <command> element in the recorded
>>>>> XML
>>>>> script, for storing the parent (Table) control information.
>>>>>
>>>>> <--------------
>>>>> // Reference ID if Object Mine used
>>>>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE =
>>>>> "parent-referenceId";
>>>>> // If Object Mine not used, the Resolver ID
>>>>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>>>>> "parent-resolverId";
>>>>> // If Object Mine not used, the Context ID
>>>>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE =
>>>>> "parent-contextId";
>>>>> // If Object Mine not used, the Widget ID
>>>>> public static final String PARENT_WIDGET_ID_ATTRIBUTE =
>>>>> "parent-widgetId";
>>>>> // The column and row of the parent Table.
>>>>> public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
>>>>> public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";
>>>>>
>>>>> ------------------>
>>>>>
>>>>> Can anyone tell me how to add those in <command>. I m using objectmine
>>>>>
>>>>> <--------My recorded XML is -------------->
>>>>>
>>>>> <macro version="1.0">
>>>>> <shell descriptive="Workspace - ReadiONE - sdfs/src/test.testsuite -
>>>>> E..." referenceId="0" return-code="0">
>>>>> <command type="select" referenceId="87"/>
>>>>> </shell>
>>>>> <shell descriptive="Person Editor" referenceId="89" return-code="0">
>>>>> <command type="focus" referenceId="91"/>
>>>>> <command type="focus" referenceId="90"/>
>>>>> <command descriptive="AA" type="choice-select" referenceId="90"
>>>>> choiceId="item#0"/>
>>>>> <command descriptive="AA" type="focus" referenceId="93"/>
>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>> <item referenceId="96"/>
>>>>> </command>
>>>>> <command descriptive="4 - 7" type="choice-select" referenceId="93"
>>>>> choiceId="item#2"/>
>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>> <item referenceId="92"/>
>>>>> </command>
>>>>> <command descriptive="0 - 3" type="choice-select" referenceId="93"
>>>>> choiceId="item#1"/>
>>>>> </shell>
>>>>> </macro>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>
>
Re: Adding new attributs for recording and playing back the table items [message #139811 is a reply to message #139800] Fri, 30 January 2009 14:24 Go to previous messageGo to next message
Asha is currently offline AshaFriend
Messages: 28
Registered: July 2009
Junior Member
Hi Paul,
Only these attributes i have to add in macroconstant.

public static final String PARENT_REFERENCE_ID_ATTRIBUTE
="parent-referenceId";
public static final String PARENT_RESOLVER_ATTRIBUTE = "parent-resolverId";
public static final String PARENT_CONTEXT_ID_ATTRIBUTE ="parent-contextId";
public static final String PARENT_WIDGET_ID_ATTRIBUTE ="parent-widgetId";
public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";

Other than that what i have to do. because i added thode attributs but
still same error is coming.

Asha

Paul Slauenwhite wrote:

> Hi Asha,
> Start with
>
/org.eclipse.tptp.test.auto.gui/src/org/eclipse/tptp/test/au to/gui/internal/macro/MacroConstants.java
> and search for uses of the
> org.eclipse.tptp.test.auto.gui.internal.macro.MacroConstants .COMMAND_ELEMENT
> field. For example,
>
org.eclipse.tptp.test.auto.gui.internal.commands.AbstractMac roCommand.write(int,
> StringBuffer, boolean, boolean).

> Paul
> "Asha " <asha@readiminds.com> wrote in message
> news:43514242fb171e069d839181d43d952b$1@www.eclipse.org...
>> Hi Paul,
>> Thanks for ur reply. There are so many class file in these
>> packages, which class files i have to modify? plz reply soon
>>
>> Paul Slauenwhite wrote:
>>
>>> Hi Asha,
>>> I would start in the org.eclipse.tptp.test.auto.gui.internal.macro
>>> and org.eclipse.tptp.test.auto.gui.internal.codegen packages of the
>>> org.eclipse.tptp.test.auto.gui plug-in.
>>
>>> Paul
>>> "Asha " <asha@readiminds.com> wrote in message
>>> news:a17f423716be8235e89a9dd09edf4ac9$1@www.eclipse.org...
>>>> Hi Paul,
>>>> Thanks for ur reply.which AGR Component i have to modify? There
>>>> its written that we have to add these attributes in recorded xml.can u
>>>> plz clarify where i have to modify.
>>>>
>>>> Regards,
>>>>
>>>> Asha
>>>>
>>>> Paul Slauenwhite wrote:
>>>>
>>>>> Hi Asha,
>>>>> You would have to modify the AGR recorder component to capture and
>>>>> emit these new attributes. There is no extensibility in the AGR to
>>>>> support this.
>>>>
>>>>> Paul
>>>>> "Asha " <asha@readiminds.com> wrote in message
>>>>> news:3e25cf081e948d011d15e47d608908b7$1@www.eclipse.org...
>>>>>> Hi,
>>>>>>
>>>>>> For recording and Playback of JFace Cell Editor item, we have to
>>>>>> add a set of new attributes to the <command> element in the recorded
>>>>>> XML
>>>>>> script, for storing the parent (Table) control information.
>>>>>>
>>>>>> <--------------
>>>>>> // Reference ID if Object Mine used
>>>>>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE =
>>>>>> "parent-referenceId";
>>>>>> // If Object Mine not used, the Resolver ID
>>>>>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>>>>>> "parent-resolverId";
>>>>>> // If Object Mine not used, the Context ID
>>>>>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE =
>>>>>> "parent-contextId";
>>>>>> // If Object Mine not used, the Widget ID
>>>>>> public static final String PARENT_WIDGET_ID_ATTRIBUTE =
>>>>>> "parent-widgetId";
>>>>>> // The column and row of the parent Table.
>>>>>> public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
>>>>>> public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";
>>>>>>
>>>>>> ------------------>
>>>>>>
>>>>>> Can anyone tell me how to add those in <command>. I m using objectmine
>>>>>>
>>>>>> <--------My recorded XML is -------------->
>>>>>>
>>>>>> <macro version="1.0">
>>>>>> <shell descriptive="Workspace - ReadiONE - sdfs/src/test.testsuite -
>>>>>> E..." referenceId="0" return-code="0">
>>>>>> <command type="select" referenceId="87"/>
>>>>>> </shell>
>>>>>> <shell descriptive="Person Editor" referenceId="89" return-code="0">
>>>>>> <command type="focus" referenceId="91"/>
>>>>>> <command type="focus" referenceId="90"/>
>>>>>> <command descriptive="AA" type="choice-select" referenceId="90"
>>>>>> choiceId="item#0"/>
>>>>>> <command descriptive="AA" type="focus" referenceId="93"/>
>>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>>> <item referenceId="96"/>
>>>>>> </command>
>>>>>> <command descriptive="4 - 7" type="choice-select" referenceId="93"
>>>>>> choiceId="item#2"/>
>>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>>> <item referenceId="92"/>
>>>>>> </command>
>>>>>> <command descriptive="0 - 3" type="choice-select" referenceId="93"
>>>>>> choiceId="item#1"/>
>>>>>> </shell>
>>>>>> </macro>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
Re: Adding new attributs for recording and playing back the table items [message #139823 is a reply to message #139811] Mon, 02 February 2009 07:40 Go to previous messageGo to next message
Asha is currently offline AshaFriend
Messages: 28
Registered: July 2009
Junior Member
Hi Paul,
At how many places i have to change the code? i m not able to
understand where i have to modify other than MacroConstant.plz reply soon..
Asha wrote:

> Hi Paul,
> Only these attributes i have to add in macroconstant.

> public static final String PARENT_REFERENCE_ID_ATTRIBUTE
> ="parent-referenceId";
> public static final String PARENT_RESOLVER_ATTRIBUTE = "parent-resolverId";
> public static final String PARENT_CONTEXT_ID_ATTRIBUTE ="parent-contextId";
> public static final String PARENT_WIDGET_ID_ATTRIBUTE ="parent-widgetId";
> public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
> public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";

> Other than that what i have to do. because i added thode attributs but
> still same error is coming.

> Asha

> Paul Slauenwhite wrote:

>> Hi Asha,
>> Start with
>>
>
/org.eclipse.tptp.test.auto.gui/src/org/eclipse/tptp/test/au to/gui/internal/macro/MacroConstants.java
>> and search for uses of the
>>
org.eclipse.tptp.test.auto.gui.internal.macro.MacroConstants .COMMAND_ELEMENT
>> field. For example,
>>
>
org.eclipse.tptp.test.auto.gui.internal.commands.AbstractMac roCommand.write(int,
>> StringBuffer, boolean, boolean).

>> Paul
>> "Asha " <asha@readiminds.com> wrote in message
>> news:43514242fb171e069d839181d43d952b$1@www.eclipse.org...
>>> Hi Paul,
>>> Thanks for ur reply. There are so many class file in these
>>> packages, which class files i have to modify? plz reply soon
>>>
>>> Paul Slauenwhite wrote:
>>>
>>>> Hi Asha,
>>>> I would start in the org.eclipse.tptp.test.auto.gui.internal.macro
>>>> and org.eclipse.tptp.test.auto.gui.internal.codegen packages of the
>>>> org.eclipse.tptp.test.auto.gui plug-in.
>>>
>>>> Paul
>>>> "Asha " <asha@readiminds.com> wrote in message
>>>> news:a17f423716be8235e89a9dd09edf4ac9$1@www.eclipse.org...
>>>>> Hi Paul,
>>>>> Thanks for ur reply.which AGR Component i have to modify? There
>>>>> its written that we have to add these attributes in recorded xml.can u
>>>>> plz clarify where i have to modify.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Asha
>>>>>
>>>>> Paul Slauenwhite wrote:
>>>>>
>>>>>> Hi Asha,
>>>>>> You would have to modify the AGR recorder component to capture and
>>>>>> emit these new attributes. There is no extensibility in the AGR to
>>>>>> support this.
>>>>>
>>>>>> Paul
>>>>>> "Asha " <asha@readiminds.com> wrote in message
>>>>>> news:3e25cf081e948d011d15e47d608908b7$1@www.eclipse.org...
>>>>>>> Hi,
>>>>>>>
>>>>>>> For recording and Playback of JFace Cell Editor item, we have to
>>>>>>> add a set of new attributes to the <command> element in the recorded
>>>>>>> XML
>>>>>>> script, for storing the parent (Table) control information.
>>>>>>>
>>>>>>> <--------------
>>>>>>> // Reference ID if Object Mine used
>>>>>>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE =
>>>>>>> "parent-referenceId";
>>>>>>> // If Object Mine not used, the Resolver ID
>>>>>>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>>>>>>> "parent-resolverId";
>>>>>>> // If Object Mine not used, the Context ID
>>>>>>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE =
>>>>>>> "parent-contextId";
>>>>>>> // If Object Mine not used, the Widget ID
>>>>>>> public static final String PARENT_WIDGET_ID_ATTRIBUTE =
>>>>>>> "parent-widgetId";
>>>>>>> // The column and row of the parent Table.
>>>>>>> public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
>>>>>>> public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";
>>>>>>>
>>>>>>> ------------------>
>>>>>>>
>>>>>>> Can anyone tell me how to add those in <command>. I m using objectmine
>>>>>>>
>>>>>>> <--------My recorded XML is -------------->
>>>>>>>
>>>>>>> <macro version="1.0">
>>>>>>> <shell descriptive="Workspace - ReadiONE - sdfs/src/test.testsuite -
>>>>>>> E..." referenceId="0" return-code="0">
>>>>>>> <command type="select" referenceId="87"/>
>>>>>>> </shell>
>>>>>>> <shell descriptive="Person Editor" referenceId="89" return-code="0">
>>>>>>> <command type="focus" referenceId="91"/>
>>>>>>> <command type="focus" referenceId="90"/>
>>>>>>> <command descriptive="AA" type="choice-select" referenceId="90"
>>>>>>> choiceId="item#0"/>
>>>>>>> <command descriptive="AA" type="focus" referenceId="93"/>
>>>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>>>> <item referenceId="96"/>
>>>>>>> </command>
>>>>>>> <command descriptive="4 - 7" type="choice-select" referenceId="93"
>>>>>>> choiceId="item#2"/>
>>>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>>>> <item referenceId="92"/>
>>>>>>> </command>
>>>>>>> <command descriptive="0 - 3" type="choice-select" referenceId="93"
>>>>>>> choiceId="item#1"/>
>>>>>>> </shell>
>>>>>>> </macro>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>
>>>
Re: Adding new attributs for recording and playing back the table items [message #139833 is a reply to message #139823] Mon, 02 February 2009 11:34 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Asha,
In TPTP 4.5, the AGR was moved from a Technology Preview component to an
As-Is component. As-Is components are primarily provided for prior users
but imply no support (for example, defects, news group, and mailing lists).

Paul
"Asha " <asha@readiminds.com> wrote in message
news:819f0fe163e39537974805c21be077bc$1@www.eclipse.org...
> Hi Paul,
> At how many places i have to change the code? i m not able to
> understand where i have to modify other than MacroConstant.plz reply
> soon..
> Asha wrote:
>
>> Hi Paul,
>> Only these attributes i have to add in macroconstant.
>
>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE
>> ="parent-referenceId";
>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>> "parent-resolverId";
>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE
>> ="parent-contextId";
>> public static final String PARENT_WIDGET_ID_ATTRIBUTE
>> ="parent-widgetId";
>> public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
>> public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";
>
>> Other than that what i have to do. because i added thode attributs but
>> still same error is coming.
>
>> Asha
>
>> Paul Slauenwhite wrote:
>
>>> Hi Asha,
>>> Start with
>>
> /org.eclipse.tptp.test.auto.gui/src/org/eclipse/tptp/test/au to/gui/internal/macro/MacroConstants.java
>>> and search for uses of the
> org.eclipse.tptp.test.auto.gui.internal.macro.MacroConstants .COMMAND_ELEMENT
>>> field. For example,
>>
> org.eclipse.tptp.test.auto.gui.internal.commands.AbstractMac roCommand.write(int,
>>> StringBuffer, boolean, boolean).
>
>>> Paul
>>> "Asha " <asha@readiminds.com> wrote in message
>>> news:43514242fb171e069d839181d43d952b$1@www.eclipse.org...
>>>> Hi Paul,
>>>> Thanks for ur reply. There are so many class file in these
>>>> packages, which class files i have to modify? plz reply soon
>>>>
>>>> Paul Slauenwhite wrote:
>>>>
>>>>> Hi Asha,
>>>>> I would start in the org.eclipse.tptp.test.auto.gui.internal.macro
>>>>> and org.eclipse.tptp.test.auto.gui.internal.codegen packages of the
>>>>> org.eclipse.tptp.test.auto.gui plug-in.
>>>>
>>>>> Paul
>>>>> "Asha " <asha@readiminds.com> wrote in message
>>>>> news:a17f423716be8235e89a9dd09edf4ac9$1@www.eclipse.org...
>>>>>> Hi Paul,
>>>>>> Thanks for ur reply.which AGR Component i have to modify?
>>>>>> There its written that we have to add these attributes in recorded
>>>>>> xml.can u plz clarify where i have to modify.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Asha
>>>>>>
>>>>>> Paul Slauenwhite wrote:
>>>>>>
>>>>>>> Hi Asha,
>>>>>>> You would have to modify the AGR recorder component to capture
>>>>>>> and emit these new attributes. There is no extensibility in the AGR
>>>>>>> to support this.
>>>>>>
>>>>>>> Paul
>>>>>>> "Asha " <asha@readiminds.com> wrote in message
>>>>>>> news:3e25cf081e948d011d15e47d608908b7$1@www.eclipse.org...
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> For recording and Playback of JFace Cell Editor item, we have to
>>>>>>>> add a set of new attributes to the <command> element in the
>>>>>>>> recorded XML
>>>>>>>> script, for storing the parent (Table) control information.
>>>>>>>>
>>>>>>>> <--------------
>>>>>>>> // Reference ID if Object Mine used
>>>>>>>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE =
>>>>>>>> "parent-referenceId";
>>>>>>>> // If Object Mine not used, the Resolver ID
>>>>>>>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>>>>>>>> "parent-resolverId";
>>>>>>>> // If Object Mine not used, the Context ID
>>>>>>>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE =
>>>>>>>> "parent-contextId";
>>>>>>>> // If Object Mine not used, the Widget ID
>>>>>>>> public static final String PARENT_WIDGET_ID_ATTRIBUTE =
>>>>>>>> "parent-widgetId";
>>>>>>>> // The column and row of the parent Table.
>>>>>>>> public static final String PARENT_CELL_X_ATTRIBUTE =
>>>>>>>> "parent-cell-x";
>>>>>>>> public static final String PARENT_CELL_Y_ATTRIBUTE =
>>>>>>>> "parent-cell-y";
>>>>>>>>
>>>>>>>> ------------------>
>>>>>>>>
>>>>>>>> Can anyone tell me how to add those in <command>. I m using
>>>>>>>> objectmine
>>>>>>>>
>>>>>>>> <--------My recorded XML is -------------->
>>>>>>>>
>>>>>>>> <macro version="1.0">
>>>>>>>> <shell descriptive="Workspace - ReadiONE -
>>>>>>>> sdfs/src/test.testsuite - E..." referenceId="0" return-code="0">
>>>>>>>> <command type="select" referenceId="87"/>
>>>>>>>> </shell>
>>>>>>>> <shell descriptive="Person Editor" referenceId="89"
>>>>>>>> return-code="0">
>>>>>>>> <command type="focus" referenceId="91"/>
>>>>>>>> <command type="focus" referenceId="90"/>
>>>>>>>> <command descriptive="AA" type="choice-select" referenceId="90"
>>>>>>>> choiceId="item#0"/>
>>>>>>>> <command descriptive="AA" type="focus" referenceId="93"/>
>>>>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>>>>> <item referenceId="96"/>
>>>>>>>> </command>
>>>>>>>> <command descriptive="4 - 7" type="choice-select" referenceId="93"
>>>>>>>> choiceId="item#2"/>
>>>>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>>>>> <item referenceId="92"/>
>>>>>>>> </command>
>>>>>>>> <command descriptive="0 - 3" type="choice-select" referenceId="93"
>>>>>>>> choiceId="item#1"/>
>>>>>>>> </shell>
>>>>>>>> </macro>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>
>
Re: Adding new attributs for recording and playing back the table items [message #139844 is a reply to message #139833] Mon, 02 February 2009 11:46 Go to previous messageGo to next message
Asha is currently offline AshaFriend
Messages: 28
Registered: July 2009
Junior Member
Hi,
Ok..But i m using 4.4.0.2. For that what should i do?

Paul Slauenwhite wrote:

> Hi Asha,
> In TPTP 4.5, the AGR was moved from a Technology Preview component to an
> As-Is component. As-Is components are primarily provided for prior users
> but imply no support (for example, defects, news group, and mailing lists).

> Paul
> "Asha " <asha@readiminds.com> wrote in message
> news:819f0fe163e39537974805c21be077bc$1@www.eclipse.org...
>> Hi Paul,
>> At how many places i have to change the code? i m not able to
>> understand where i have to modify other than MacroConstant.plz reply
>> soon..
>> Asha wrote:
>>
>>> Hi Paul,
>>> Only these attributes i have to add in macroconstant.
>>
>>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE
>>> ="parent-referenceId";
>>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>>> "parent-resolverId";
>>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE
>>> ="parent-contextId";
>>> public static final String PARENT_WIDGET_ID_ATTRIBUTE
>>> ="parent-widgetId";
>>> public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
>>> public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";
>>
>>> Other than that what i have to do. because i added thode attributs but
>>> still same error is coming.
>>
>>> Asha
>>
>>> Paul Slauenwhite wrote:
>>
>>>> Hi Asha,
>>>> Start with
>>>
>>
/org.eclipse.tptp.test.auto.gui/src/org/eclipse/tptp/test/au to/gui/internal/macro/MacroConstants.java
>>>> and search for uses of the
>> org.eclipse.tptp.test.auto.gui.internal.macro.MacroConstants .COMMAND_ELEMENT
>>>> field. For example,
>>>
>>
org.eclipse.tptp.test.auto.gui.internal.commands.AbstractMac roCommand.write(int,
>>>> StringBuffer, boolean, boolean).
>>
>>>> Paul
>>>> "Asha " <asha@readiminds.com> wrote in message
>>>> news:43514242fb171e069d839181d43d952b$1@www.eclipse.org...
>>>>> Hi Paul,
>>>>> Thanks for ur reply. There are so many class file in these
>>>>> packages, which class files i have to modify? plz reply soon
>>>>>
>>>>> Paul Slauenwhite wrote:
>>>>>
>>>>>> Hi Asha,
>>>>>> I would start in the org.eclipse.tptp.test.auto.gui.internal.macro
>>>>>> and org.eclipse.tptp.test.auto.gui.internal.codegen packages of the
>>>>>> org.eclipse.tptp.test.auto.gui plug-in.
>>>>>
>>>>>> Paul
>>>>>> "Asha " <asha@readiminds.com> wrote in message
>>>>>> news:a17f423716be8235e89a9dd09edf4ac9$1@www.eclipse.org...
>>>>>>> Hi Paul,
>>>>>>> Thanks for ur reply.which AGR Component i have to modify?
>>>>>>> There its written that we have to add these attributes in recorded
>>>>>>> xml.can u plz clarify where i have to modify.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Asha
>>>>>>>
>>>>>>> Paul Slauenwhite wrote:
>>>>>>>
>>>>>>>> Hi Asha,
>>>>>>>> You would have to modify the AGR recorder component to capture
>>>>>>>> and emit these new attributes. There is no extensibility in the AGR
>>>>>>>> to support this.
>>>>>>>
>>>>>>>> Paul
>>>>>>>> "Asha " <asha@readiminds.com> wrote in message
>>>>>>>> news:3e25cf081e948d011d15e47d608908b7$1@www.eclipse.org...
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> For recording and Playback of JFace Cell Editor item, we have to
>>>>>>>>> add a set of new attributes to the <command> element in the
>>>>>>>>> recorded XML
>>>>>>>>> script, for storing the parent (Table) control information.
>>>>>>>>>
>>>>>>>>> <--------------
>>>>>>>>> // Reference ID if Object Mine used
>>>>>>>>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE =
>>>>>>>>> "parent-referenceId";
>>>>>>>>> // If Object Mine not used, the Resolver ID
>>>>>>>>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>>>>>>>>> "parent-resolverId";
>>>>>>>>> // If Object Mine not used, the Context ID
>>>>>>>>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE =
>>>>>>>>> "parent-contextId";
>>>>>>>>> // If Object Mine not used, the Widget ID
>>>>>>>>> public static final String PARENT_WIDGET_ID_ATTRIBUTE =
>>>>>>>>> "parent-widgetId";
>>>>>>>>> // The column and row of the parent Table.
>>>>>>>>> public static final String PARENT_CELL_X_ATTRIBUTE =
>>>>>>>>> "parent-cell-x";
>>>>>>>>> public static final String PARENT_CELL_Y_ATTRIBUTE =
>>>>>>>>> "parent-cell-y";
>>>>>>>>>
>>>>>>>>> ------------------>
>>>>>>>>>
>>>>>>>>> Can anyone tell me how to add those in <command>. I m using
>>>>>>>>> objectmine
>>>>>>>>>
>>>>>>>>> <--------My recorded XML is -------------->
>>>>>>>>>
>>>>>>>>> <macro version="1.0">
>>>>>>>>> <shell descriptive="Workspace - ReadiONE -
>>>>>>>>> sdfs/src/test.testsuite - E..." referenceId="0" return-code="0">
>>>>>>>>> <command type="select" referenceId="87"/>
>>>>>>>>> </shell>
>>>>>>>>> <shell descriptive="Person Editor" referenceId="89"
>>>>>>>>> return-code="0">
>>>>>>>>> <command type="focus" referenceId="91"/>
>>>>>>>>> <command type="focus" referenceId="90"/>
>>>>>>>>> <command descriptive="AA" type="choice-select" referenceId="90"
>>>>>>>>> choiceId="item#0"/>
>>>>>>>>> <command descriptive="AA" type="focus" referenceId="93"/>
>>>>>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>>>>>> <item referenceId="96"/>
>>>>>>>>> </command>
>>>>>>>>> <command descriptive="4 - 7" type="choice-select" referenceId="93"
>>>>>>>>> choiceId="item#2"/>
>>>>>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>>>>>> <item referenceId="92"/>
>>>>>>>>> </command>
>>>>>>>>> <command descriptive="0 - 3" type="choice-select" referenceId="93"
>>>>>>>>> choiceId="item#1"/>
>>>>>>>>> </shell>
>>>>>>>>> </macro>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>
>>
Re: Adding new attributs for recording and playing back the table items [message #139887 is a reply to message #139844] Tue, 03 February 2009 13:16 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Asha,
Since this component is no longer supported, we are not in a position to
support or refactor this code due to resource constraints. If you
interested in refactoring the code to meet your requirements, you will need
to follow the pointers I gave in this thread and implement/debug your
changes.

Paul
"Asha " <asha@readiminds.com> wrote in message
news:be933be9b5ab91e06dd63f396644a381$1@www.eclipse.org...
> Hi,
> Ok..But i m using 4.4.0.2. For that what should i do?
>
> Paul Slauenwhite wrote:
>
>> Hi Asha,
>> In TPTP 4.5, the AGR was moved from a Technology Preview component to
>> an As-Is component. As-Is components are primarily provided for prior
>> users but imply no support (for example, defects, news group, and mailing
>> lists).
>
>> Paul
>> "Asha " <asha@readiminds.com> wrote in message
>> news:819f0fe163e39537974805c21be077bc$1@www.eclipse.org...
>>> Hi Paul,
>>> At how many places i have to change the code? i m not able to
>>> understand where i have to modify other than MacroConstant.plz reply
>>> soon..
>>> Asha wrote:
>>>
>>>> Hi Paul,
>>>> Only these attributes i have to add in macroconstant.
>>>
>>>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE
>>>> ="parent-referenceId";
>>>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>>>> "parent-resolverId";
>>>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE
>>>> ="parent-contextId";
>>>> public static final String PARENT_WIDGET_ID_ATTRIBUTE
>>>> ="parent-widgetId";
>>>> public static final String PARENT_CELL_X_ATTRIBUTE = "parent-cell-x";
>>>> public static final String PARENT_CELL_Y_ATTRIBUTE = "parent-cell-y";
>>>
>>>> Other than that what i have to do. because i added thode attributs but
>>>> still same error is coming.
>>>
>>>> Asha
>>>
>>>> Paul Slauenwhite wrote:
>>>
>>>>> Hi Asha,
>>>>> Start with
>>>>
>>>
> /org.eclipse.tptp.test.auto.gui/src/org/eclipse/tptp/test/au to/gui/internal/macro/MacroConstants.java
>>>>> and search for uses of the
>>> org.eclipse.tptp.test.auto.gui.internal.macro.MacroConstants .COMMAND_ELEMENT
>>>>> field. For example,
>>>>
>>>
> org.eclipse.tptp.test.auto.gui.internal.commands.AbstractMac roCommand.write(int,
>>>>> StringBuffer, boolean, boolean).
>>>
>>>>> Paul
>>>>> "Asha " <asha@readiminds.com> wrote in message
>>>>> news:43514242fb171e069d839181d43d952b$1@www.eclipse.org...
>>>>>> Hi Paul,
>>>>>> Thanks for ur reply. There are so many class file in these
>>>>>> packages, which class files i have to modify? plz reply soon
>>>>>>
>>>>>> Paul Slauenwhite wrote:
>>>>>>
>>>>>>> Hi Asha,
>>>>>>> I would start in the
>>>>>>> org.eclipse.tptp.test.auto.gui.internal.macro and
>>>>>>> org.eclipse.tptp.test.auto.gui.internal.codegen packages of the
>>>>>>> org.eclipse.tptp.test.auto.gui plug-in.
>>>>>>
>>>>>>> Paul
>>>>>>> "Asha " <asha@readiminds.com> wrote in message
>>>>>>> news:a17f423716be8235e89a9dd09edf4ac9$1@www.eclipse.org...
>>>>>>>> Hi Paul,
>>>>>>>> Thanks for ur reply.which AGR Component i have to modify?
>>>>>>>> There its written that we have to add these attributes in recorded
>>>>>>>> xml.can u plz clarify where i have to modify.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Asha
>>>>>>>>
>>>>>>>> Paul Slauenwhite wrote:
>>>>>>>>
>>>>>>>>> Hi Asha,
>>>>>>>>> You would have to modify the AGR recorder component to capture
>>>>>>>>> and emit these new attributes. There is no extensibility in the
>>>>>>>>> AGR to support this.
>>>>>>>>
>>>>>>>>> Paul
>>>>>>>>> "Asha " <asha@readiminds.com> wrote in message
>>>>>>>>> news:3e25cf081e948d011d15e47d608908b7$1@www.eclipse.org...
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> For recording and Playback of JFace Cell Editor item, we have
>>>>>>>>>> to add a set of new attributes to the <command> element in the
>>>>>>>>>> recorded XML
>>>>>>>>>> script, for storing the parent (Table) control information.
>>>>>>>>>>
>>>>>>>>>> <--------------
>>>>>>>>>> // Reference ID if Object Mine used
>>>>>>>>>> public static final String PARENT_REFERENCE_ID_ATTRIBUTE =
>>>>>>>>>> "parent-referenceId";
>>>>>>>>>> // If Object Mine not used, the Resolver ID
>>>>>>>>>> public static final String PARENT_RESOLVER_ATTRIBUTE =
>>>>>>>>>> "parent-resolverId";
>>>>>>>>>> // If Object Mine not used, the Context ID
>>>>>>>>>> public static final String PARENT_CONTEXT_ID_ATTRIBUTE =
>>>>>>>>>> "parent-contextId";
>>>>>>>>>> // If Object Mine not used, the Widget ID
>>>>>>>>>> public static final String PARENT_WIDGET_ID_ATTRIBUTE =
>>>>>>>>>> "parent-widgetId";
>>>>>>>>>> // The column and row of the parent Table.
>>>>>>>>>> public static final String PARENT_CELL_X_ATTRIBUTE =
>>>>>>>>>> "parent-cell-x";
>>>>>>>>>> public static final String PARENT_CELL_Y_ATTRIBUTE =
>>>>>>>>>> "parent-cell-y";
>>>>>>>>>>
>>>>>>>>>> ------------------>
>>>>>>>>>>
>>>>>>>>>> Can anyone tell me how to add those in <command>. I m using
>>>>>>>>>> objectmine
>>>>>>>>>>
>>>>>>>>>> <--------My recorded XML is -------------->
>>>>>>>>>>
>>>>>>>>>> <macro version="1.0">
>>>>>>>>>> <shell descriptive="Workspace - ReadiONE -
>>>>>>>>>> sdfs/src/test.testsuite - E..." referenceId="0" return-code="0">
>>>>>>>>>> <command type="select" referenceId="87"/>
>>>>>>>>>> </shell>
>>>>>>>>>> <shell descriptive="Person Editor" referenceId="89"
>>>>>>>>>> return-code="0">
>>>>>>>>>> <command type="focus" referenceId="91"/>
>>>>>>>>>> <command type="focus" referenceId="90"/>
>>>>>>>>>> <command descriptive="AA" type="choice-select" referenceId="90"
>>>>>>>>>> choiceId="item#0"/>
>>>>>>>>>> <command descriptive="AA" type="focus" referenceId="93"/>
>>>>>>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>>>>>>> <item referenceId="96"/>
>>>>>>>>>> </command>
>>>>>>>>>> <command descriptive="4 - 7" type="choice-select"
>>>>>>>>>> referenceId="93" choiceId="item#2"/>
>>>>>>>>>> <command descriptive="Name" type="item-select" referenceId="91">
>>>>>>>>>> <item referenceId="92"/>
>>>>>>>>>> </command>
>>>>>>>>>> <command descriptive="0 - 3" type="choice-select"
>>>>>>>>>> referenceId="93" choiceId="item#1"/>
>>>>>>>>>> </shell>
>>>>>>>>>> </macro>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>
>>>
>
>
Previous Topic:java.exe crashes when launching (but it worked before)
Next Topic:Linux TPTP is not working properly
Goto Forum:
  


Current Time: Wed Nov 26 05:47:48 GMT 2014

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

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