Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[bpel-dev] Re: Extend Bpel Designer's Property View

Hi! Another question:
 
 
I set my extension point as code: 
 
"

<extension point="org.eclipse.ui.views.properties.tabbed.propertySections">

<propertySections contributorId="org.eclipse.bpel.ui.bpeleditor">

<propertySection

tab="org.eclipse.bpel.qos.tabs.qos"

class="org.eclipse.bpel.qos.ui.sections.ResponseTimeSection"

id="org.eclipse.bpel.qos.sections.ResponseTimeSection">

<input type="org.eclipse.bpel.model.Invoke"/>

<input type="org.eclipse.bpel.model.Reply"/>

<input type="org.eclipse.bpel.model.Receive"/>

</propertySection>

</propertySections>

</extension>

"


Class ResponseTimeSection in createClient() method instantiates the class 
ResponseTimeSectionComposite responsible for the UI tab. 

In the ResponseTimeSectionComposite there are 3 textbox.

The problem is that: when I insert an Invoke and Receive in
BPEL process, setting properties for the Invoke remain the same 
for the Receive . How can assign to each individual action specific values of the three textbox?


Thanks in advance. 
Happy New Year! 
Graziella

----- Original Message -----
Sent: Friday, December 18, 2009 12:20 PM
Subject: Re: Extend Bpel Designer's Property View

Thanks Michael!!!
 
I'm too distracted!!!
 
Regards, Graziella
----- Original Message -----
Sent: Wednesday, December 16, 2009 2:48 PM
Subject: Re: Extend Bpel Designer's Property View

Hi Michael!
 
I followed the example of the plugin.xml org.eclipse.bpel.ui.
I enclose my plugin.xml .. 
 
"
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
<propertyContributor
contributorId="org.eclipse.bpel.ui.bpeleditor"
typeMapper="org.eclipse.bpel.test.ui.properties.TypeMapper"
labelProvider="org.eclipse.bpel.test.ui.properties.PropertiesLabelProvider">
<propertyCategory category="qos"/>
</propertyContributor>
</extension>
<extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
<propertyTabs contributorId="org.eclipse.bpel.ui.bpeleditor">
<propertyTab
label="Quality of Service"
category="QoS"
id="org.eclipse.bpel.test.tabs.qos"/>
</propertyTabs>
</extension>
<extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
<propertySections contributorId="org.eclipse.bpel.ui.bpeleditor">
<propertySection
tab="org.eclipse.bpel.test.tabs.qos"
class="org.eclipse.bpel.test.ui.impl.NameSection"
id="org.eclipse.bpel.test.sections.Name">
<input type="org.eclipse.bpel.model.Activity"/>
<input type="org.eclipse.wst.wsdl.ExtensibilityElement"/>
<input type="org.eclipse.bpel.model.Variable"/>
<input type="org.eclipse.bpel.model.CorrelationSet"/>
<input type="org.eclipse.bpel.model.PartnerLink"/>
<input type="org.eclipse.bpel.model.Process"/>
<input type="org.eclipse.bpel.model.Link"/>
<input type="org.eclipse.bpel.model.MessageExchange"/>
</propertySection>
</propertySections>
</extension>
</plugin>
"
 
but when I run my plugin I get the following errors. 
 
 
"
!SESSION 2009-12-16 14:27:45.159 -----------------------------------------------
eclipse.buildId=M20090211-1700
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Framework arguments:  -product org.eclipse.platform.ide
Command-line arguments:  -product org.eclipse.platform.ide -data D:\BPELworkspace2 -dev file:D:/workspaceBPEL/.metadata/.plugins/org.eclipse.pde.core/BPEL_start/dev.properties -os win32 -ws win32 -arch x86
 
!ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-12-16 14:27:48.333
!MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes.
 
!ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-12-16 14:27:48.334
!MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes.
 
!ENTRY org.eclipse.bpel.test 4 3 2009-12-16 14:28:42.047
!MESSAGE Tab in org.eclipse.bpel.test declares non-existing category QoS.
 
!ENTRY org.eclipse.ui.views.properties.tabbed 4 1 2009-12-16 14:28:42.051
!MESSAGE Section org.eclipse.bpel.test.sections.Name declares non-existing tab org.eclipse.bpel.test.tabs.qos.
"
 

What is wrong?
Where should I declare my category QoS and my tab org.eclipse.bpel.test.tabs.qos?  
 
Thank you very much.
Graziella
----- Original Message -----
Sent: Friday, December 11, 2009 11:32 AM
Subject: Extend Bpel Designer's Property View

Hi to everybody!
 
I have to extend the BPEL Designer by adding a new tab 'QOS' to 
Property view of BPEL actions. How can I do? 

Regards, 
Graziella

Back to the top