KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > part > services > NullContributionManagerOverrides


1 /*******************************************************************************
2  * Copyright (c) 2004, 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.part.services;
12
13 import org.eclipse.jface.action.IContributionItem;
14 import org.eclipse.jface.action.IContributionManagerOverrides;
15
16 /**
17  * @since 3.1
18  */

19 public class NullContributionManagerOverrides implements
20         IContributionManagerOverrides {
21
22     /* (non-Javadoc)
23      * @see org.eclipse.jface.action.IContributionManagerOverrides#getEnabled(org.eclipse.jface.action.IContributionItem)
24      */

25     public Boolean JavaDoc getEnabled(IContributionItem item) {
26         return null;
27     }
28
29     /* (non-Javadoc)
30      * @see org.eclipse.jface.action.IContributionManagerOverrides#getAccelerator(org.eclipse.jface.action.IContributionItem)
31      */

32     public Integer JavaDoc getAccelerator(IContributionItem item) {
33         return null;
34     }
35
36     /* (non-Javadoc)
37      * @see org.eclipse.jface.action.IContributionManagerOverrides#getAcceleratorText(org.eclipse.jface.action.IContributionItem)
38      */

39     public String JavaDoc getAcceleratorText(IContributionItem item) {
40         return null;
41     }
42
43     /* (non-Javadoc)
44      * @see org.eclipse.jface.action.IContributionManagerOverrides#getText(org.eclipse.jface.action.IContributionItem)
45      */

46     public String JavaDoc getText(IContributionItem item) {
47         return null;
48     }
49
50 }
51
Popular Tags