[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jubula-rc-dev] Problem with new action in component Application
|
Hi,
I have a problem with my extension.
I followed the steps in the manual and compare my files with those of Example
JSlider.
I have my two new actions that appear in the application of available actions.
But when I want to use it made ​​a mistake, Error Description :
Operation not supported by the selected toolkit.
I'm not sure about the toolkitComponent type in my ComponentClass.
I use Jubula 8.0, java 1.7.
Thanks
Attachment:
SwingExtensionApplicationAdapterFactory.java
Description: java/
Attachment:
ApplicationDragAndDrop.java
Description: java/
<?xml version="1.0" encoding="ISO-8859-1"?>
<compSystem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../org.eclipse.jubula.toolkit.common/resources/xml/ToolkitComponentConfiguration.xsd">
<configVersion>
<majorVersion>1</majorVersion>
<minorVersion>36</minorVersion>
</configVersion>
<toolkitComponent type="java.awt.Frame" hasDefaultMapping="true" visible="true">
<extends>guidancer.concrete.GraphicApplication</extends>
<testerClass>org.eclipse.jubula.rc.swing.tester.ApplicationDragAndDrop</testerClass>
<action name="CompSystem.DragApp">
<method>rcDragApp</method>
<param name="CompSystem.MouseButton">
<type>java.lang.Integer</type>
<defaultValue>1</defaultValue>
<valueSet>
<element name="CompSystem.MouseButtonLeft" value="1"/>
<element name="CompSystem.MouseButtonMiddle" value="2"/>
<element name="CompSystem.MouseButtonRight" value="3"/>
</valueSet>
</param>
<param name="CompSystem.ModifierSpecification">
<type>java.lang.String</type>
<defaultValue>none</defaultValue>
<valueSet combinable="true">
<element name="CompSystem.None" value="none"/>
<element name="CompSystem.Shift" value="shift"/>
<element name="CompSystem.Ctrl" value="control"/>
<element name="CompSystem.Alt" value="alt"/>
<element name="CompSystem.Meta" value="meta"/>
<element name="CompSystem.Cmd" value="cmd"/>
<element name="CompSystem.Mod" value="mod"/>
</valueSet>
</param>
<param name="CompSystem.XPos">
<type>java.lang.Integer</type>
</param>
<param name="CompSystem.XUnits">
<type>java.lang.String</type>
<valueSet>
<element name="CompSystem.Percent" value="percent"/>
<element name="CompSystem.Pixel" value="pixel"/>
</valueSet>
</param>
<param name="CompSystem.YPos">
<type>java.lang.Integer</type>
</param>
<param name="CompSystem.YUnits">
<type>java.lang.String</type>
<valueSet>
<element name="CompSystem.Percent" value="percent"/>
<element name="CompSystem.Pixel" value="pixel"/>
</valueSet>
</param>
</action>
<action name="CompSystem.DropApp">
<method>rcDropApp</method>
<param name="CompSystem.XPos">
<type>java.lang.Integer</type>
</param>
<param name="CompSystem.XUnits">
<type>java.lang.String</type>
<valueSet>
<element name="CompSystem.Percent" value="percent"/>
<element name="CompSystem.Pixel" value="pixel"/>
</valueSet>
</param>
<param name="CompSystem.YPos">
<type>java.lang.Integer</type>
</param>
<param name="CompSystem.YUnits">
<type>java.lang.String</type>
<valueSet>
<element name="CompSystem.Percent" value="percent"/>
<element name="CompSystem.Pixel" value="pixel"/>
</valueSet>
</param>
<param name="CompSystem.DelayBeforeDrop">
<type>java.lang.Integer</type>
<defaultValue>100</defaultValue>
</param>
</action>
</toolkitComponent>
</compSystem>
Attachment:
MyToolkitProvider.java
Description: java/
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.jubula.toolkit.common.toolkitsupport">
<toolkit
IToolkitProvider="com.deroo.jubula.extension.demo.swing.toolkit.provider.MyToolkitProvider"
depends="com.bredexsw.guidancer.SwingToolkitPlugin"
includes="null"
isUserToolkit="true"
level="toolkit"
name="demoJubulaDragAndDropApplication"
order="11"
toolkitID="com.deroo.jubula.extension.demo.swing.toolkit.demoJubulaDragAndDropApplication"/>
</extension>
</plugin>
Attachment:
MANIFEST.MF
Description: Binary data
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="com.deroo.jubula.extension.demo.swing.feature"
label="Feature"
version="1.0.0.qualifier"
provider-name="DEROO">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
[Enter License Description here.]
</license>
<includes
id="org.eclipse.rcp"
version="0.0.0"/>
<includes
id="org.eclipse.jubula.feature"
version="0.0.0"/>
<plugin
id="com.deroo.jubula.extension.demo.swing.toolkit"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="com.deroo.jubula.extension.demo.swing.rc"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
</feature>
Attachment:
MANIFEST.MF
Description: Binary data