]>
Commit | Line | Data |
---|---|---|
1b2798f6 EK |
1 | /******************************************************************************* |
2 | * Copyright (c) 2008 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.jdt.internal.ui.preferences.cleanup; | |
12 | ||
13 | import org.eclipse.jdt.internal.corext.fix.CleanUpConstants; | |
14 | ||
15 | import org.eclipse.jdt.ui.cleanup.CleanUpOptions; | |
16 | import org.eclipse.jdt.ui.cleanup.ICleanUpOptionsInitializer; | |
17 | ||
18 | ||
19 | /** | |
20 | * The clean up initializer for clean up mode. | |
21 | * | |
22 | * @since 3.5 | |
23 | */ | |
24 | public class DefaultCleanUpOptionsInitializer implements ICleanUpOptionsInitializer { | |
25 | ||
26 | /* | |
27 | * @see org.eclipse.jdt.ui.cleanup.ICleanUpOptionsInitializer#setDefaultOptions(org.eclipse.jdt.ui.cleanup.CleanUpOptions) | |
28 | * @since 3.5 | |
29 | */ | |
30 | public void setDefaultOptions(CleanUpOptions options) { | |
31 | CleanUpConstants.setDefaultOptions(CleanUpConstants.DEFAULT_CLEAN_UP_OPTIONS, options); | |
32 | } | |
33 | ||
34 | } |