Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-22-2008, 01:47 PM
Member
 
Join Date: Nov 2008
Posts: 1
mostafa is on a distinguished road
show Confirm Perspective Switch dialog box
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. In fact 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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using dialog boxes and switch statements question hungdukie New To Java 2 11-22-2008 07:30 AM
How to use Switch keyword Java Tip java.lang 0 04-23-2008 10:07 PM
Switch Statement Help bluegreen7hi New To Java 6 02-06-2008 07:16 AM
netbeans 6.0 not show commpunent or show blank page fahimaamir NetBeans 1 01-26-2008 08:20 AM
Yes/No confirm dialog box mandrake446 Advanced Java 2 12-09-2007 07:31 AM


All times are GMT +3. The time now is 02:11 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org