Creating new data type names
Hi,
I want to define certain data type names for a structure called DataType. These data type names will be file names in a folder.
I searched for possible solutions but I couldn't go any further from the constraints.
But what I want is while creating the model in the solution, I want the possible names to be shown to the user while hitting Ctrl+space as it would for classifierType.
concept DataType extends BaseConcept
implements INamedConcept
instance can be root: false
alias: <no alias>
short description: <no short description>
properties:
<< ... >>
children:
type : ClassifierType[1]
references:
<< ... >>
(So, instead of ClassifierType I want file names from the folder.)
Do you have any idea for this particular problem?
Thanks in advance,
Zehra Nur
I want to define certain data type names for a structure called DataType. These data type names will be file names in a folder.
I searched for possible solutions but I couldn't go any further from the constraints.
But what I want is while creating the model in the solution, I want the possible names to be shown to the user while hitting Ctrl+space as it would for classifierType.
concept DataType extends BaseConcept
implements INamedConcept
instance can be root: false
alias: <no alias>
short description: <no short description>
properties:
<< ... >>
children:
type : ClassifierType[1]
references:
<< ... >>
(So, instead of ClassifierType I want file names from the folder.)
Do you have any idea for this particular problem?
Thanks in advance,
Zehra Nur
1 comment
Sort by
Date
Votes
I would most likely try a parametrised substitution action - it would populate the completion menu with the file names and instantiate the appropriate nodes once the user picks a name.
Please sign in to leave a comment.