Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » newbie: "Property Category" in attribute in *.ecore
newbie: "Property Category" in attribute in *.ecore [message #399356] Wed, 15 March 2006 11:59 Go to next message
Frederic is currently offline FredericFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

What is the purpose of "Property Category", "Property Description" and
"Property Filter Flags" at attribute level in *.ecore?
I suppose that I can group the attributes in groups in the editor by
specifying that - is it correct? But How can they be used? Where can I
read about this issue?

Maybe my question is very easy or stupid but please apologize me as I'm
new to this.

Frederic
Re: newbie: "Property Category" in attribute in *.ecore [message #399357 is a reply to message #399356] Wed, 15 March 2006 12:18 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26237
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020207070301090605010907
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Frederic,

Try and see is an effective technique. The property category determines
the category label, e.g., Ecore and Edit below, the property description
determines what's shown on the status line when the property is
selected, and the filter lets you specify the filter IDs that must be
active to show the property, e.g., using
org.eclipse.ui.views.properties.expert for this will cause the property
to be displayed only when "Show Advanced Properties" is enabled in the
properties view.




Frederic wrote:

> Hi,
>
> What is the purpose of "Property Category", "Property Description" and
> "Property Filter Flags" at attribute level in *.ecore?
> I suppose that I can group the attributes in groups in the editor by
> specifying that - is it correct? But How can they be used? Where can I
> read about this issue?
>
> Maybe my question is very easy or stupid but please apologize me as
> I'm new to this.
>
> Frederic
>


--------------020207070301090605010907
Content-Type: multipart/related;
boundary="------------090200040109040504090800"


--------------090200040109040504090800
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Frederic,<br>
<br>
Try and see is an effective technique.
Re: newbie: "Property Category" in attribute in *.ecore [message #399360 is a reply to message #399357] Wed, 15 March 2006 12:30 Go to previous messageGo to next message
Frederic is currently offline FredericFriend
Messages: 4
Registered: July 2009
Junior Member
Ed,

I tried to set 'Test Category' in Property Category and 'Test Description'
in Property Description to test it but the attrubute disappear from
properties in the generated model :-( So, I think I miss something...

Frederic

Ed Merks wrote:

> Frederic,

> Try and see is an effective technique. The property category determines
> the category label, e.g., Ecore and Edit below, the property description
> determines what's shown on the status line when the property is
> selected, and the filter lets you specify the filter IDs that must be
> active to show the property, e.g., using
> org.eclipse.ui.views.properties.expert for this will cause the property
> to be displayed only when "Show Advanced Properties" is enabled in the
> properties view.




> Frederic wrote:

>> Hi,
>>
>> What is the purpose of "Property Category", "Property Description" and
>> "Property Filter Flags" at attribute level in *.ecore?
>> I suppose that I can group the attributes in groups in the editor by
>> specifying that - is it correct? But How can they be used? Where can I
>> read about this issue?
>>
>> Maybe my question is very easy or stupid but please apologize me as
>> I'm new to this.
>>
>> Frederic
>>
Re: newbie: "Property Category" in attribute in *.ecore [message #399361 is a reply to message #399360] Wed, 15 March 2006 12:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26237
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080306010308020605060906
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Frederic,

I tried this:


And that has this effect:


I'm not sure exactly what you tried. (Did you specify
org.eclipse.ui.views.properties.expert as the filter? That would hide it.)


Frederic wrote:

> Ed,
>
> I tried to set 'Test Category' in Property Category and 'Test
> Description' in Property Description to test it but the attrubute
> disappear from properties in the generated model :-( So, I think I
> miss something...
>
> Frederic
>
> Ed Merks wrote:
>
>> Frederic,
>
>
>> Try and see is an effective technique. The property category
>> determines the category label, e.g., Ecore and Edit below, the
>> property description determines what's shown on the status line when
>> the property is selected, and the filter lets you specify the filter
>> IDs that must be active to show the property, e.g., using
>> org.eclipse.ui.views.properties.expert for this will cause the
>> property to be displayed only when "Show Advanced Properties" is
>> enabled in the properties view.
>
>
>
>
>
>> Frederic wrote:
>
>
>>> Hi,
>>>
>>> What is the purpose of "Property Category", "Property Description"
>>> and "Property Filter Flags" at attribute level in *.ecore?
>>> I suppose that I can group the attributes in groups in the editor by
>>> specifying that - is it correct? But How can they be used? Where can
>>> I read about this issue?
>>>
>>> Maybe my question is very easy or stupid but please apologize me as
>>> I'm new to this.
>>>
>>> Frederic
>>>
>


--------------080306010308020605060906
Content-Type: multipart/related;
boundary="------------040004020601080302070105"


--------------040004020601080302070105
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Frederic,<br>
<br>
I tried this:<br>
<blockquote><img src="cid:part1.07090804.08030402@ca.ibm.com" alt=""><br>
</blockquote>
And that has this effect:<br>
<blockquote><img src="cid:part2.03080900.06030305@ca.ibm.com" alt=""><br>
</blockquote>
I'm not sure exactly what you tried.
Re: newbie: "Property Category" in attribute in *.ecore [message #399362 is a reply to message #399361] Wed, 15 March 2006 13:01 Go to previous messageGo to next message
Frederic is currently offline FredericFriend
Messages: 4
Registered: July 2009
Junior Member
Ed,

it's very strange. If I set property category and property description to
attribute EString (as in your example) - everything is ok, the attrubute
is in specified group and all others are in 'Misc' group. But when I set
property category and property description to attribute EBoolean - the
attribute disappears.

Ed Merks wrote:

> Frederic,

> I tried this:


> And that has this effect:


> I'm not sure exactly what you tried. (Did you specify
> org.eclipse.ui.views.properties.expert as the filter? That would hide it.)


> Frederic wrote:

>> Ed,
>>
>> I tried to set 'Test Category' in Property Category and 'Test
>> Description' in Property Description to test it but the attrubute
>> disappear from properties in the generated model :-( So, I think I
>> miss something...
>>
>> Frederic
>>
>> Ed Merks wrote:
>>
>>> Frederic,
>>
>>
>>> Try and see is an effective technique. The property category
>>> determines the category label, e.g., Ecore and Edit below, the
>>> property description determines what's shown on the status line when
>>> the property is selected, and the filter lets you specify the filter
>>> IDs that must be active to show the property, e.g., using
>>> org.eclipse.ui.views.properties.expert for this will cause the
>>> property to be displayed only when "Show Advanced Properties" is
>>> enabled in the properties view.
>>
>>
>>
>>
>>
>>> Frederic wrote:
>>
>>
>>>> Hi,
>>>>
>>>> What is the purpose of "Property Category", "Property Description"
>>>> and "Property Filter Flags" at attribute level in *.ecore?
>>>> I suppose that I can group the attributes in groups in the editor by
>>>> specifying that - is it correct? But How can they be used? Where can
>>>> I read about this issue?
>>>>
>>>> Maybe my question is very easy or stupid but please apologize me as
>>>> I'm new to this.
>>>>
>>>> Frederic
>>>>
>>
Re: newbie: "Property Category" in attribute in *.ecore [message #399364 is a reply to message #399362] Wed, 15 March 2006 14:36 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 26237
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000204030803010308050405
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Frederic,

I tried this:


Which results in this:


I'm not sure what's special about your example...


Frederic wrote:

> Ed,
>
> it's very strange. If I set property category and property description
> to attribute EString (as in your example) - everything is ok, the
> attrubute is in specified group and all others are in 'Misc' group.
> But when I set property category and property description to attribute
> EBoolean - the attribute disappears.
>
> Ed Merks wrote:
>
>> Frederic,
>
>
>> I tried this:
>
>
>
>> And that has this effect:
>
>
>
>> I'm not sure exactly what you tried. (Did you specify
>> org.eclipse.ui.views.properties.expert as the filter? That would
>> hide it.)
>
>
>
>> Frederic wrote:
>
>
>>> Ed,
>>>
>>> I tried to set 'Test Category' in Property Category and 'Test
>>> Description' in Property Description to test it but the attrubute
>>> disappear from properties in the generated model :-( So, I think I
>>> miss something...
>>>
>>> Frederic
>>>
>>> Ed Merks wrote:
>>>
>>>> Frederic,
>>>
>>>
>>>
>>>> Try and see is an effective technique. The property category
>>>> determines the category label, e.g., Ecore and Edit below, the
>>>> property description determines what's shown on the status line
>>>> when the property is selected, and the filter lets you specify the
>>>> filter IDs that must be active to show the property, e.g., using
>>>> org.eclipse.ui.views.properties.expert for this will cause the
>>>> property to be displayed only when "Show Advanced Properties" is
>>>> enabled in the properties view.
>>>
>>>
>>>
>>>
>>>
>>>
>>>> Frederic wrote:
>>>
>>>
>>>
>>>>> Hi,
>>>>>
>>>>> What is the purpose of "Property Category", "Property Description"
>>>>> and "Property Filter Flags" at attribute level in *.ecore?
>>>>> I suppose that I can group the attributes in groups in the editor
>>>>> by specifying that - is it correct? But How can they be used?
>>>>> Where can I read about this issue?
>>>>>
>>>>> Maybe my question is very easy or stupid but please apologize me
>>>>> as I'm new to this.
>>>>>
>>>>> Frederic
>>>>>
>>>
>


--------------000204030803010308050405
Content-Type: multipart/related;
boundary="------------010102050504020502070006"


--------------010102050504020502070006
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Frederic,<br>
<br>
I tried this:<br>
<blockquote><img src="cid:part1.05000601.02080804@ca.ibm.com" alt=""><br>
</blockquote>
Which results in this:<br>
<blockquote><img src="cid:part2.00010401.08020907@ca.ibm.com" alt=""><br>
</blockquote>
I'm not sure what's special about your example...<br>
<br>
<br>
Frederic wrote:
<blockquote cite="mid2ccc6d8731534493d744399ba2dd4503$1@www.eclipse.org"
type="cite">Ed,
<br>
<br>
it's very strange. If I set property category and property description
to attribute EString (as in your example) - everything is ok, the
attrubute is in specified group and all others are in 'Misc' group. But
when I set property category and property description to attribute
EBoolean - the attribute disappears.
<br>
<br>
Ed Merks wrote:
<br>
<br>
<blockquote type="cite">Frederic,
<br>
</blockquote>
<br>
<blockquote type="cite">I tried this:
<br>
</blockquote>
<br>
<br>
<blockquote type="cite">And that has this effect:
<br>
</blockquote>
<br>
<br>
<blockquote type="cite">I'm not sure exactly what you tried.
Previous Topic:Recursive models
Next Topic:noob: How to know when objects get added to an EList
Goto Forum:
  


Current Time: Sat Nov 29 01:47:07 GMT 2014

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

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