/* AWE - Amanzi Wireless Explorer
* http://awe.amanzi.org
* (C) 2008-2009, AmanziTel AB
*
* This library is provided under the terms of the Eclipse Public License
* as described at http://www.eclipse.org/legal/epl-v10.html. Any use,
* reproduction or distribution of the library constitutes recipient's
* acceptance of this agreement.
*
* This library is distributed WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
package org.amanzi.awe.drive.ui.preferences;
import org.amanzi.awe.drive.ui.DriveTreePlugin;
import org.amanzi.awe.ui.tree.preferences.AbstractLabelPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;
/**
* TODO Purpose of
* <p>
* </p>
*
* @author Nikolay Lagutko (nikolay.lagutko@amanzitel.com)
* @since 1.0.0
*/
public class DriveLabelsInitializer extends AbstractLabelPreferenceInitializer {
public static final String DRIVE_LABEL_TEMPLATE = "drive_tree.label_template";
public DriveLabelsInitializer() {
super();
}
@Override
protected String getPreferenceKey() {
return DRIVE_LABEL_TEMPLATE;
}
@Override
protected String getTemplate() {
return "#timestamp#";
}
@Override
protected IPreferenceStore getPreferenceStore() {
return DriveTreePlugin.getDefault().getPreferenceStore();
}
}