Mercurial > projects > dwt-addons
comparison dwtx/jface/action/ContributionItem.d @ 70:46a6e0e6ccd4
Merge with d-fied sources of 3.4M7
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 22 May 2008 01:36:46 +0200 |
parents | ea8ff534f622 |
children |
comparison
equal
deleted
inserted
replaced
69:07b9d96fd764 | 70:46a6e0e6ccd4 |
---|---|
1 /******************************************************************************* | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2005 IBM Corporation and others. | 2 * Copyright (c) 2000, 2008 IBM Corporation and others. |
3 * All rights reserved. This program and the accompanying materials | 3 * All rights reserved. This program and the accompanying materials |
4 * are made available under the terms of the Eclipse Public License v1.0 | 4 * are made available under the terms of the Eclipse Public License v1.0 |
5 * which accompanies this distribution, and is available at | 5 * which accompanies this distribution, and is available at |
6 * http://www.eclipse.org/legal/epl-v10.html | 6 * http://www.eclipse.org/legal/epl-v10.html |
7 * | 7 * |
213 * method declared on <code>IContributionItem</code> does nothing. | 213 * method declared on <code>IContributionItem</code> does nothing. |
214 * Subclasses should override to update their state. | 214 * Subclasses should override to update their state. |
215 */ | 215 */ |
216 public void update(String id) { | 216 public void update(String id) { |
217 } | 217 } |
218 | |
219 /** | |
220 * The ID for this contribution item. It should be set once either in the | |
221 * constructor or using this method. | |
222 * | |
223 * @param itemId | |
224 * @since 3.4 | |
225 * @see #getId() | |
226 */ | |
227 public void setId(String itemId) { | |
228 id = itemId; | |
229 } | |
218 } | 230 } |