Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Platform
Release 3.5

Interface IEditorLauncher

public interface IEditorLauncher

An editor launcher is used to launch external editors on a file in the local file system.

Clients should implement this interface to define a new type of editor launcher. Each new launcher must be registered as an editor in the workbench's editor extension point (named "org.eclipse.ui.editors"). For example, the plug-in's XML markup might contain:

 <extension point = "org.eclipse.ui.editors">
       name="Swing Editor"

In this example a launcher has been registered for use with xml files. Once registered, the launcher will appear in the Open With menu for an xml file. If the item is invoked the workbench will create an instance of the launcher class and call open on it, passing the input file.

Method Summary
 void open ( IPath file)
          Launches this external editor to edit the file at the given location in the local file system.

Method Detail


void open(
IPath file)
Launches this external editor to edit the file at the given location in the local file system.

file - the local file system path of the file to edit

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire