Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Select one literal in an enumeration
Select one literal in an enumeration [message #1777700] Fri, 01 December 2017 17:24 Go to next message
Jules Franc is currently offline Jules FrancFriend
Messages: 5
Registered: May 2016
Junior Member
Hello,

If I have a datatype with three string attributes, I can change the values of the attributes with the following code :

obj.eSet(index_of_the_attribute, new_value);


What if the first attribute (at index 0) is not a string, but an enumeration with five literals ? How to choose the selected literal ?

Thank you very much
Re: Select one literal in an enumeration [message #1778559 is a reply to message #1777700] Sun, 17 December 2017 15:24 Go to previous message
Christian Eugster is currently offline Christian EugsterFriend
Messages: 175
Registered: July 2009
Location: St. Gallen Switzerland
Senior Member
Hi,
Please precise your question, I do not understand, what you mean.

Christian
Previous Topic:Not able to call Activator.start method for non java project
Next Topic:Can another Plugin be triggered after creating a new project
Goto Forum:
  


Current Time: Sun Nov 18 16:56:52 GMT 2018

Powered by FUDForum. Page generated in 0.02252 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top