Confirm Perspective Switch

Discussion in 'Software' started by mostafa, Nov 22, 2008.

  1. mostafa

    mostafa

    Joined:
    Nov 22, 2008
    Messages:
    1
    Hi.
    I am writing a plug-in for eclipse for working with some kind of file types.
    I would like to show a "confirm dialog box" to the users when they open a specific file type that my plug-in support,
    to ask them for switching to my plug-in perspective (view).
    just like the time you want to debug your program, and eclipse bring a dialog box which
    says: "Confirm Perspective Switch" in the heading and "! This kind of launch is configured to open
    the Debug perspective when it suspends. This Debug perspective is designed to support application debugging... .Do you want to open this perspective now?"

    how can I do this. Infact is there any item in configuration for doing this work? if No , how can I do this with writing code?
    for the first I know that I should show a dialog to the user for changing the perspective. if the user clicked the yes button I should call a function that I don't know the exactly name of it to change perspective.
    mostafa, Nov 22, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Evil Uncle Chris

    Confirm my wireless understanding please?

    Evil Uncle Chris, May 1, 2005, in forum: Wireless Networking
    Replies:
    1
    Views:
    552
    Sooner Al [MVP]
    May 1, 2005
  2. totsob
    Replies:
    1
    Views:
    1,051
    Markus
    Oct 22, 2004
  3. Kouros

    Can anyone confirm?

    Kouros, Jul 31, 2005, in forum: Firefox
    Replies:
    4
    Views:
    459
    Jim Thompson
    Jul 31, 2005
  4. Mark Irvine

    confirm certification

    Mark Irvine, Aug 27, 2004, in forum: Microsoft Certification
    Replies:
    2
    Views:
    521
    Mark Irvine
    Aug 27, 2004
  5. Leigh Kendall

    Confirm 70-300 format?

    Leigh Kendall, Sep 5, 2003, in forum: MCSD
    Replies:
    10
    Views:
    681
Loading...

Share This Page