Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Beginner PDE Question Re New-File Menu
Beginner PDE Question Re New-File Menu [message #188464] Mon, 02 February 2004 17:12
Eclipse UserFriend
Originally posted by: bruce_robertson01.yahoo.com

Hi - we are just getting started with PDE.

Our plugin needs to edit files with a specific extension (.msg) with a
custom editor in our plugin. We also want the user to be able to create and
edit other
types of file (EG.txt etc) with whatever default editor the platform
provides. Our plugin defines a new perspective in which we include the
common "Navigator" view from the Resource Perspective.

When the user is in the platform's Resource Perspective the menu items
New-Folder and New-File are available in the workbench's File menu. However
when the user is in our plugin's perspective these menu items are not
available. (The cumbersome File-New-Other-Simple-File is available)

So questions:-

1) How do we make those workbench menu items New-Folder and New-File
available to our user when using our perspective?
2) How do we define those actions so that a New-File starts up the usual
"New File" dialog box?

Thanks
Bruce
Previous Topic:Importing Problem with Eclipse 3.0 M4
Next Topic:XMLEncoder with Eclipse M6
Goto Forum:
  


Current Time: Fri Jun 13 05:22:37 EDT 2025

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

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

Back to the top