--
Regards,
Ernesto
--
You received this message because you are subscribed to the Google Groups "vogella" group.
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/18Peu7kUSUUJ.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vogella?hl=en.
Hi,This might help. The tutorial is still a bit rough, but might be a good starting point.
Best regards, Lars2012/4/12 Ernesto
Hello. I want to know if there's a way to pass attributes to parts created in execution time. This is because I want the new part to be created according to user's selection in another part. This is something like project explorer, when you double-click a file and a new editor for that file opens.
By now, I've got a provisory solution creating a singleton to get user selections. I catch the selected item (it's on a treeviewer) on a singleton's attribute, and access it in the @PostConstruct for the new part. That works fine, but I'd like to know if there's a "platform correct way" to achieve this.
--
Regards,
Ernesto
--
--
You received this message because you are subscribed to the Google Groups "vogella" group.
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/ItZwIl0Qq4UJ.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vogella?hl=en.
This supports the MInputPart by which an Input can be provided to the InputPart.
2012/4/13 Ernesto <ernes...@gmail.com>
What might help?... tutorial doesn't tell or I've skiped that part! I think I don't understand your answer! sorry :S
El jueves, 12 de abril de 2012 16:01:55 UTC-3, vogella escribió:Hi,This might help. The tutorial is still a bit rough, but might be a good starting point.
Best regards, Lars2012/4/12 Ernesto
Hello. I want to know if there's a way to pass attributes to parts created in execution time. This is because I want the new part to be created according to user's selection in another part. This is something like project explorer, when you double-click a file and a new editor for that file opens.
By now, I've got a provisory solution creating a singleton to get user selections. I catch the selected item (it's on a treeviewer) on a singleton's attribute, and access it in the @PostConstruct for the new part. That works fine, but I'd like to know if there's a "platform correct way" to achieve this.
--
Regards,
Ernesto
--
--
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter
--To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/ItZwIl0Qq4UJ.
You received this message because you are subscribed to the Google Groups "vogella" group.
To unsubscribe from this group, send email to vogella+unsubscribe@googlegroups.com.