Extending Eclipse Editors
by Romain Bioteau
Hi,
I'm working on a Eclipse RCP Product and I need to extend the
DRLRuleEditor. However the package is not exported in MANIFEST.MF and
thus not accessible from my plugin.
Is there a specific reason to not export those packages ?
Have someone already try to reuse those Editors ?
Best Regards
Romain Bioteau
16 years
Re: [rules-users] How to add a SkinProvider for the Drools Flow Eclipse Plugin, since the SkinManager does not have any possiblities for adding one ?
by Robert
Hi Kris,
thanks for the offer on extending the Eclipse Plugin to add a custom
SkinProvider.
A little more background on what my actual intention is.
I need a collection of already setup components which I can reuse again
and again. Those components will mostly be derived from already existing
components (like the Action-Component), but with an already given name and
action (like a pre-set)...
This is because I need to modell flows with a lot of reused operations. I
work in the semiconductor industry and process flows to produce a chip
reuse many times the same kind of operations (e.g. load equipment, unload
equipment, collect data, ...; just with some different parameters).
My thought was to create a custom SkinProvider with all the needed
operations which I can use for modeling the flow.
Operation -> (extends) Component
(orig)
load equipment -> Action
(=
Action comp with
Name
= "load equipment";
Action
= LoadEquipmentHandler.handleIt(...))
unload equipment -> Action
(=
Action comp with
Name
= "unload equipment";
Action
= UnLoadEquipmentHandler.handleIt(...))
collect data -> Action
(=
Action comp with
Name
= "collect data";
Action
= CollectDataHandler.handleIt(...))
a.s.o.
I hope you understand what I am trying to do.
If you have a better idea of providing custom components as through a
SkinProvider, just let me know.
Thanks.
Cheers, Rob.
----------------------------------------------
Send rules-users mailing list submissions to
rules-users(a)lists.jboss.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.jboss.org/mailman/listinfo/rules-users
or, via email, send a message with subject or body 'help' to
rules-users-request(a)lists.jboss.org
You can reach the person managing the list at
rules-users-owner(a)lists.jboss.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of rules-users digest..."
Today's Topics:
1. Drools integration with Mysql (Nilima R)
2. How to add a SkinProvider for the Drools Flow Eclipse Plugin,
since the SkinManager does not have any possiblities for adding
one ? (Robert)
3. Re: gwt-console-drools - link 2 download (ramram)
4. Re: How to add a SkinProvider for the Drools Flow Eclipse
Plugin, since the SkinManager does not have any possiblities for
adding one ? (Kris Verlaenen)
5. XStream (Bertrand Grottier)
6. Re: gwt-console-drools - link 2 download (Kris Verlaenen)
7. Re: XStream (Kris Verlaenen)
----------------------------------------------------------------------
Message: 1
Date: Tue, 9 Mar 2010 13:04:07 +0530
From: Nilima R <nilima.r(a)tcs.com>
Subject: [rules-users] Drools integration with Mysql
To: rules-users(a)lists.jboss.org
Message-ID:
<OFE303DE70.696D5B48-ON652576E1.0029517D-652576E1.00299385(a)tcs.com>
Content-Type: text/plain; charset="us-ascii"
Hello All ,
I need to integrate Mysql with Drools
1)I have made the following changes in the repositry..xml file
<PersistenceManager
class="org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager">
<param name="url"
value="jdbc:mysql://localhost.:3306/guvnor_db;create=true"/>
<param name="user" value="root"/>
<param name="password" value="root123"/>
<param name="schemaObjectPrefix" value="${wsp.name}_"/>
2)Also i have included mysqlconnector jar in jboss AS .
Please help with above steps as am not able to connect to mysql.No tables
are created in guvnor_db.
Nilima
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
16 years
Drools integration with Mysql
by Nilima R
Hello All ,
I need to integrate Mysql with Drools
1)I have made the following changes in the repositry..xml file
<PersistenceManager
class="org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager">
<param name="url"
value="jdbc:mysql://localhost.:3306/guvnor_db;create=true"/>
<param name="user" value="root"/>
<param name="password" value="root123"/>
<param name="schemaObjectPrefix" value="${wsp.name}_"/>
2)Also i have included mysqlconnector jar in jboss AS .
Please help with above steps as am not able to connect to mysql.No tables
are created in guvnor_db.
Nilima
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
16 years
Problem with date
by Bertrand Grottier
Dear all,
I am a newbie with Drools (Drools 5). I just want to make a date comparison but failed until now. Here is my drl file :
package com.sample
import com.sample.DroolsTest.Produit;
rule "Prix premier semestre"
when
p1 : Produit( dDeb < "01-Jan-2010" )
then
p1.setPrix( 10 );
update( p1 );
end
I get a build error in Eclipse : Unable to create restriction.
This must be an obvious problem but I am struggling for a while now.
Any help would be appreciated.
Benoit
_________________________________________________________________
Hotmail et MSN dans la poche? HOTMAIL et MSN sont dispo gratuitement sur votre téléphone!
http://www.messengersurvotremobile.com/?d=Hotmail
16 years
SAP JCO (Drools)
by Young Matthew (4004)
Searched the mail archives....
About using Drools with SAP via JCO (similar to how SAP connects to
RuleBurst) without finding any information. Just wants to pool the
mailing list again to see if there are any active Drools/SAP users and
their experience writing a JCO package for DRools.
thanks / matthew
16 years
How to traverse the Collection by index
by dhari
Hi all,
I want to compare all elements in the collection with other element of the
same collection. In my case I have collection of Segment, a Segment contains
startDate and endDate. The whole collection of Segment should consists on
complete calendar year and every segment in the list must start 1+ from the
endDate of last element. Valid fact should be:
MemberShip
Segment 1: StartDate: 01-01-2010 EndDate: 30-05-2010
Segment 2: StartDate: 31-05-2010 EndDate: 08-08-2010
Segment 3: StartDate 09-08-2010 EndDate: 31-12-2010
Data structure
class Segment{
java.util.Date startDate;
java.util.Date endDate;
}
class Membership{
java.util.ArrayList<Segment> segments;
}
I know the date functions. I just want to know how can I traverse the List
from get element on Index and Index+1?
--
View this message in context: http://n3.nabble.com/How-to-traverse-the-Collection-by-index-tp435000p435...
Sent from the Drools - User mailing list archive at Nabble.com.
16 years