Modify

Opened 28 hours ago

Last modified 14 hours ago

#24693 new enhancement

[PATCH] Allow values_from in presets to use plugin classes

Reported by: Zverikk Owned by: team
Priority: normal Milestone: 26.05
Component: Core Version:
Keywords: Cc:

Description

I wanted to have a combo box for the last several days for the check_date tag. For that I have added a class into UtilsPlugin2, and references it in the preset, in a value_from field. Turns out presets can access only core and JRE classes, but plugin classes are inaccessible.

I'm attaching a patch that does two things:

  1. Makes plugin classes available to values_from. I have tested it with my preset.
  2. Allows also methods with one or two String parameters, to which it passes a key, or a key and its current value.

Attachments (1)

presetValuesForExtended.patch (4.3 KB ) - added by Zverikk 28 hours ago.

Download all attachments as: .zip

Change History (3)

by Zverikk, 28 hours ago

comment:1 by Zverikk, 28 hours ago

Summary: Allow values_from in presets to use plugin classes[PATCH] Allow values_from in presets to use plugin classes

comment:2 by stoecker, 14 hours ago

Milestone: 26.05

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Zverikk.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.