blob: ec428b09ee773c1080c4a63705dda6f2361dd50a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2016 xored software, Inc. and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* xored software, Inc. - initial API and Implementation (Alex Panchenko)
*******************************************************************************/
package org.eclipse.dltk.ruby.formatter.preferences;
import org.eclipse.dltk.ui.formatter.FormatterModifyDialog;
import org.eclipse.dltk.ui.formatter.IFormatterModifyDialogOwner;
import org.eclipse.dltk.ui.formatter.IScriptFormatterFactory;
public class RubyFormatterModifyDialog extends FormatterModifyDialog {
/**
* @param parent
*/
public RubyFormatterModifyDialog(IFormatterModifyDialogOwner dialogOwner,
IScriptFormatterFactory formatterFactory) {
super(dialogOwner, formatterFactory);
}
@Override
protected void addPages() {
addTabPage(Messages.RubyFormatterModifyDialog_indentation,
new RubyFormatterIndentationTabPage(this));
addTabPage(Messages.RubyFormatterModifyDialog_blankLines,
new RubyFormatterBlankLinesPage(this));
addTabPage(Messages.RubyFormatterModifyDialog_comments,
new RubyFormatterCommentsPage(this));
}
}