Q7

Ability to get raw values of multi-valued properties

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.9
  • Fix Version/s: 1.3.10
  • Component/s: ECL, Runtime
  • Labels:
    None
  • Test Mode:
    Manual

Description

Consider a combo, which has values property in Basic properties.

I'm trying to get a raw value from it:

get-view "Package Explorer" | get-tree | get-menu "New/Project..." | click
with [get-window "New Project"] {
    get-tree | select "Java Project"
    get-button "Next >" | click
}
get-window "New Java Project" | get-group JRE | get-combo | get-property values -raw | foreach { log }

And get an error message like this:

Do now know how to box value of type 'org.eclipse.emf.ecore.util.EDataTypeEList'
  at foreach (line 8)

I expect 'get-property' should write separate values to output pipe in this case, or there should be an implicit conversion from EDataTypeEList to EclList

Activity

Hide
komaz added a comment - 04/Dec/13 3:14 PM

Moreover, attempt to use an advanced property (reflection based):

... | get-combo | get-property "getItems()" -raw

gives a strange error:

 
  at get-property (line 8)
Show
komaz added a comment - 04/Dec/13 3:14 PM Moreover, attempt to use an advanced property (reflection based):
... | get-combo | get-property "getItems()" -raw
gives a strange error:
 
  at get-property (line 8)
Hide
Stanislav Belyakov added a comment - 04/Dec/13 6:36 PM

Added ability to get raw values of multi-valued properties

Show
Stanislav Belyakov added a comment - 04/Dec/13 6:36 PM Added ability to get raw values of multi-valued properties

People

Vote (0)
Watch (0)

Dates

  • Created:
    04/Dec/13 2:44 PM
    Updated:
    04/Dec/13 6:36 PM
    Resolved:
    04/Dec/13 6:36 PM