Operator color
StaryVena
New Altair Community Member
Answers
-
Hi,
for the core, that is in groups.properties. You can have such a file per extension.
Best,
Simon0 -
Thank You.
But i have problem. I changed groupsTutorial.properties in tutorial project. Now it looks like this:
OperatorsTutorial.xml is:
# gray
group.Tutorial.color = #e9e9e9
# root color (empty)
group..color = #b2a2e9
group.loop.color = #fde4d7
All operators are still white. Is there a way to find, where problem is?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<operators name="tutorial" version="5.0" docbundle="com/rapidminer/resources/i18n/OperatorsDocTutorial">
<group key="">
<group key="tutorial">
<group key="data_transformation">
<group key="type_conversion">
<operator>
<key>numerical_to_date</key>
<class>com.rapidminer.operator.preprocessing.transformation.Numerical2DateOperator
</class>
</operator>
</group>
</group>
<group key="process_control">
<group key="loop">
<operator>
<key>loop_infinitely</key>
<class>com.rapidminer.operator.meta.LoopInfinitely</class>
</operator>
</group>
</group>
<operator>
<key>process_game_data</key>
<class>com.rapidminer.operator.game.ProcessGameDataOperator</class>
</operator>
<operator>
<key>extract_age</key>
<class>com.rapidminer.operator.game.extractors.ExtractAgeOperator</class>
</operator>
</group>
</group>
</operators>0 -
-----------------------------------------------------
# gray
group.Tutorial.color = #e9e9e9
-----------------------------------------------------
-----------------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<operators name="tutorial" version="5.0" docbundle="com/rapidminer/resources/i18n/OperatorsDocTutorial">
<group key="">
<group key="tutorial">
...
</group>
</group>
</operators>
-----------------------------------------------------
Try with the upper/lower case.
0 -
Thanks, I will try it, but I think, it won't help, becase in Core xml is it same as in my post.0
-
I've got it. One problem was lower/upper case and secod one was subgups If you have data_transformation -> type_conversion then in groups.properties should be
group.data_transformation.type_conversion.color = #2290F0
Thanks everybody to help me.0 -
There are some colors that when they're assigned to the operators then RM5 GUI-Process-View doesn't work in the right way (like #FFF000).
How can I solve this?0 -
Hi,
this is a good question. What do you mean by "doesn't work the right way"? This description is a little bit vague to draw conclusions on the possible reasons...
Greetings,
Sebastian0 -
I've created an operator that works fine, I can use it like other operators in the Perspective View - Process Tab, I can move, drag or drop it or another action without any problem.
When I try to change the color of my own operator to another color then something wrong happens sometimes because It seems that some colors are not allowed or they cause an error.
When I try to assign color #e9e9e9 or #555555 I can see my operator with the right color and everything works fine. When I try to assign color #FFF000 then I can NOT see my operator in the right way. It has no name, in/out ports or black border, there is only a #FFF000 (yellow) square.
I have written in the groupsTemplate.properties file this line:
group.MyGroup.color = #FFF0000 -
Hi,
most of our developers (including Sebastian and Simon who are more active here in the forum) are currently out of office but I am sure they will come back to you after their return.
Cheers,
Ingo0 -
Hi,
silly bug, sorry. Wait until tomorrow for the mirror or make sure all color components are at least 25 (decimal).
Best,
Simon0