Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Define a label widget in jaxb

This is working now. Turns out the lcMap isn't read-only after all, changes to it reflect in the UI.
=Wyatt

On Thu, Jan 8, 2015 at 10:44 AM, Wyatt Spear <wspear@xxxxxxxxxxxxxx> wrote:
I haven't been able to so far. The custom widget gets the value in the text field from the lcMap that is passed in. The keys in the lcMap have had the resource manager id stripped off. To edit the attribute value in the configuration, though, I need that resource manager id.

=Wyatt

On Wed, Jan 7, 2015 at 6:04 PM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:
Wyatt,

If the text field gets it’s contents from an attribute, can’t your custom widget just update the attribute value?

Greg

On Jan 7, 2015, at 8:18 PM, Wyatt Spear <wspear@xxxxxxxxxxxxxx> wrote:

So it looks like I do need to access the configuration object for this to work. The problem is finding the rm specific prefix that identifies keys in the configuration's map. Does anyone know of a proper way to obtain this resource-manager id prefix at the widget level? The obvious kludge is to look at the key names in the configuration and infer the prefix from those but that doesn't seem like a great option.

Thanks,
Wyatt

On Tue, Jan 6, 2015 at 6:05 PM, Wyatt Spear <wspear@xxxxxxxxxxxxxx> wrote:
I was able to track this down, there were some examples of the 'label' widget in some of the jaxb tool definitions.

Now I've got a possibly more complex problem. I would like to update a regular widget (a text field) based on some behavior in a custom widget. I have access to the lcMap and id for that widget but I don't see any way to grab or edit the contents of the text field from within another widget. Does anyone know if this is possible? Do I need to find it in the configuration object instead maybe?
Thanks,
Wyatt

On Tue, Jan 6, 2015 at 11:46 AM, Wyatt Spear <wspear@xxxxxxxxxxxxxx> wrote:
Greetings,

I'm making some tweaks to the TAU launch configuration and I need to add a remote browse widget which isn't attached to a checkbox as most of the other browse-fields are, but instead just has a text label in front of it since it's always on. I'm not seeing the jaxb code for a label so if anyone could point me in the right direction that would be great. My next stop is the jaxb implementation so I can see what widgets are available in there.

Thanks,
Wyatt Spear


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-dev


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-dev



Back to the top