KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > browser > SystemBrowserDescriptor


1 /*******************************************************************************
2  * Copyright (c) 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - Initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.ui.internal.browser;
12
13 public class SystemBrowserDescriptor implements IBrowserDescriptor {
14     public String JavaDoc getName() {
15         return Messages.prefSystemBrowser;
16     }
17
18     public String JavaDoc getLocation() {
19         return null;
20     }
21
22     public String JavaDoc getParameters() {
23         return null;
24     }
25
26     public void delete() {
27         // ignore
28
}
29
30     public boolean isWorkingCopy() {
31         return false;
32     }
33
34     public IBrowserDescriptorWorkingCopy getWorkingCopy() {
35         return null;
36     }
37     
38     public boolean equals(Object JavaDoc obj) {
39         return obj instanceof SystemBrowserDescriptor;
40     }
41 }
Popular Tags