cancel
Showing results for 
Search instead for 
Did you mean: 

Own PropertyType

norberts
Champ in-the-making
Champ in-the-making
Hello again,

now that I can finally play around with my own task definitions, I have a question about the property types. I searched in the forum but could only find something for the Activiti Explorer on that part.
Is it possible to provide an own property type? Since it is all triggered by the PropertyType Enum I don't see an obvious option.

What I would need would be a reference to a Java class (or any source file). This should be addable by the user of course per element.

The thing is, that I don't need it to be runnable in the Explorer. I will only use it inside of the Designer. So I guess I can't use the Runtime annotation.
4 REPLIES 4

tiesebarrell
Champ in-the-making
Champ in-the-making
No, you can't use anything other than the predefined types. The reason for that is simply that Designer needs to have code for any type to render the UI for the property and handle model updates. However, we could add a type for selecting a resource and / or class if that's what you require.

Just curious though, what are you trying to achieve? The classname will only be stored as a string, so it won't do anything.

There's no interference with Explorer. These extensions are Designer only.

norberts
Champ in-the-making
Champ in-the-making
As I've said, I don't want it to be readable in the Explorer or wherever. I would only need it in the Designer and there only inside of a PlugIn.
The thing is, I'm trying to develop a PlugIn with which I can model BPMN processes in the Activiti Editor and then transform them to a different semantic in a PlugIn with attached source code on some elements. But it's not very important right now. So skip that for now. Smiley Happy

tiesebarrell
Champ in-the-making
Champ in-the-making
OK, so do you still have an open question at the moment?

norberts
Champ in-the-making
Champ in-the-making
Yes, I have. See http://forums.activiti.org/en/viewtopic.php?f=8&t=6339. Smiley Happy Don't want to spam one thread with questions unrelated to the topic.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.