Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » How I can get Property 'Identity' information by programming
How I can get Property 'Identity' information by programming [message #1786941] Wed, 16 May 2018 07:45 Go to next message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
To Whom It May Concern,

I am very interested in using property to customized widgets.

But now I may a problem, I want to use the Button to get/modify some date in specified Customized Widgets, and I don't know how to handle it.

As the description of ,
https://www.eclipse.org/sirius/doc/4.1.x/specifier/properties/Properties_View_Description.html, said that :
Identifier. Each properties view element description defines an optional attribute Identifier. It can be used to distinguish elements of the same type in the VSM editor, and in advanced customization scenarios where the VSM model is programmatically accessed/modified.

Does any one know how to get information from specified 'Widgets' by programming?
Re: How I can get Property 'Identity' information by programming [message #1786951 is a reply to message #1786941] Wed, 16 May 2018 10:02 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 572
Registered: May 2011
Senior Member
Hello,

We have some documentations on how to contribute custom widgets for the properties view:
- https://www.eclipse.org/sirius/doc/developer/extensions-properties_provide_custom_widget_advanced.html
- https://www.eclipse.org/sirius/doc/specifier/properties/Properties_View_Description.html#advanced_custom_widgets_extension_points

Regards,
Steve


Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: How I can get Property 'Identity' information by programming [message #1786954 is a reply to message #1786951] Wed, 16 May 2018 11:09 Go to previous messageGo to next message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
Steve Thanks.

Maybe my description of the question not clearly.

I have Customized some widget with your provided link.

But I want add some action in it. and let them interact on each other.

Such as, I want use the Default Button (Not the advanced guide described) to get a specified 'Identity' widget information, and change it information.
For example:

index.php/fa/32859/0/
The Button is default, which is provided by Sirius.
The Table is customized.
The Label also is default.

Operation Step:
1, Select the Item in Table;
2,Push the button
3, Item information transfered to Label information.


So do you know how to handle this kind of situation?
Whether I need to make a customized widget with all of this?

Thanks a lot
  • Attachment: Untitled.jpg
    (Size: 38.04KB, Downloaded 153 times)

[Updated on: Sat, 19 May 2018 02:36]

Report message to a moderator

Re: How I can get Property 'Identity' information by programming [message #1787112 is a reply to message #1786954] Sat, 19 May 2018 02:37 Go to previous message
Nicholas Kong is currently offline Nicholas KongFriend
Messages: 59
Registered: July 2016
Location: China
Member
I have update the question.
Does any one who can help me?
Previous Topic:difference between Diagram Import and Diagram Extension
Next Topic:Programmatically change appearance/style of diagrams
Goto Forum:
  


Current Time: Fri Apr 19 21:08:09 GMT 2024

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

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

Back to the top