Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2007 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: IBM Corporation - initial API and implementation /
Superclass of CVS participant action delegates that uses the classname as the key to access the text from the resource bundle
	public CVSActionDelegateWrapper(CVSAction delegateISynchronizePageConfiguration configurationString id) {
		Utils.initAction(thisgetBundleKeyPrefix(), Policy.getActionBundle());

Return the key to the action text in the resource bundle. The default is the class name followed by a dot (.).

the bundle key prefix
	protected String getBundleKeyPrefix() {
		int lastDot = name.lastIndexOf("."); //$NON-NLS-1$
		if (lastDot == -1) {
			return name;
		return name.substring(lastDot + 1)  + "."//$NON-NLS-1$
New to GrepCode? Check out our FAQ X