Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » HOW TO GET PROPERTIES VIEW OPENED WHEN WE CLICK ON A PARTICULAR FEATURE(IMAGE) IN MODEL.XML(I HAD EXTENDED CONTEXT MENU IN MODEL.XML (CLICK MODEL.XML-->SELECT ANY FEATURE--> RIGHT CLICK -->MENU OPTION--(ON CLICKING THIS I NEED TO DISPLAY FEATURE INFO. IN PROPERTIES VIEW.)
HOW TO GET PROPERTIES VIEW OPENED WHEN WE CLICK ON A PARTICULAR FEATURE(IMAGE) IN MODEL.XML [message #972413] Mon, 05 November 2012 16:02 Go to next message
Raj kumar is currently offline Raj kumar
Messages: 2
Registered: November 2012
Junior Member
I HAD EXTENDED CONTEXT MENU IN MODEL.XML (CLICK MODEL.XML-->SELECT ANY FEATURE--> RIGHT CLICK -->MENU OPTION--(ON CLICKING THIS I NEED TO DISPLAY FEATURE INFO. IN PROPERTIES VIEW.

I HAD DEVELOPED PLUG IN THAT EXTEND CONTEXTMENU USING FEATUREDIAGRAM EXTENSION NOW I NEED TO OPEN PROPERTIES VIEW WEN I CLICK ON THIS MENU OPTION.

PLEASE HELPP
Re: HOW TO GET PROPERTIES VIEW OPENED WHEN WE CLICK ON A PARTICULAR FEATURE(IMAGE) IN MODEL.XML [message #972539 is a reply to message #972413] Mon, 05 November 2012 18:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Please find the Cap Lock key on your keyboard and press it once.

The properties view takes its input from the selection of the active
view so I don't think you should try to make it show something based on
a menu action. I'm not sure it's even possible.


On 05/11/2012 5:09 PM, bingi143 kumar wrote:
> I HAD EXTENDED CONTEXT MENU IN MODEL.XML (CLICK MODEL.XML-->SELECT ANY
> FEATURE--> RIGHT CLICK -->MENU OPTION--(ON CLICKING THIS I NEED TO
> DISPLAY FEATURE INFO. IN PROPERTIES VIEW.
>
> I HAD DEVELOPED PLUG IN THAT EXTEND CONTEXTMENU USING FEATUREDIAGRAM
> EXTENSION NOW I NEED TO OPEN PROPERTIES VIEW WEN I CLICK ON THIS MENU
> OPTION.
>
> PLEASE HELPP
Re: HOW TO GET PROPERTIES VIEW OPENED WHEN WE CLICK ON A PARTICULAR FEATURE(IMAGE) IN MODEL.XML [message #972717 is a reply to message #972413] Mon, 05 November 2012 21:12 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2275
Registered: July 2009
Senior Member
On 11/5/2012 11:09 AM, bingi143 kumar wrote:
> I HAD EXTENDED CONTEXT MENU IN MODEL.XML (CLICK MODEL.XML-->SELECT ANY
> FEATURE--> RIGHT CLICK -->MENU OPTION--(ON CLICKING THIS I NEED TO
> DISPLAY FEATURE INFO. IN PROPERTIES VIEW.
>
> I HAD DEVELOPED PLUG IN THAT EXTEND CONTEXTMENU USING FEATUREDIAGRAM
> EXTENSION NOW I NEED TO OPEN PROPERTIES VIEW WEN I CLICK ON THIS MENU
> OPTION.
>
> PLEASE HELPP

Call org.eclipse.ui.IWorkbenchPage#showView(String) with the correct
View ID, "org.eclipse.ui.views.PropertySheet." You will most likely
have to obtain the workbench instance and go through its active window
to get the active page.

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: HOW TO GET PROPERTIES VIEW OPENED WHEN WE CLICK ON A PARTICULAR FEATURE(IMAGE) IN MODEL.XML [message #973189 is a reply to message #972717] Tue, 06 November 2012 06:13 Go to previous message
Raj kumar is currently offline Raj kumar
Messages: 2
Registered: November 2012
Junior Member
HI,

Thank you for the reply! Could you please tell me exactly how to do it as I am new to this concept.

How could I get control to properties view upon selecting on any feature?


Please help!


To this I am attaching the snapshot of exactly what has to be done .please help.



Rajkumar.
  • Attachment: Help me 2.png
    (Size: 131.92KB, Downloaded 113 times)

[Updated on: Wed, 07 November 2012 07:03]

Report message to a moderator

Previous Topic:how long did it take you to learn java
Next Topic:adding a war to an ear
Goto Forum:
  


Current Time: Mon Sep 22 12:19:47 GMT 2014

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

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