Package org.erlide.ui.wizards

Source Code of org.erlide.ui.wizards.ConfigSelectionListener

package org.erlide.ui.wizards;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.xtext.xbase.lib.InputOutput;
import org.erlide.engine.model.root.NewProjectData;
import org.erlide.engine.model.root.ProjectConfigType;

@SuppressWarnings("all")
public class ConfigSelectionListener implements SelectionListener {
  private final NewProjectData info;
 
  public ConfigSelectionListener(final NewProjectData info) {
    this.info = info;
  }
 
  public void widgetDefaultSelected(final SelectionEvent e) {
  }
 
  public void widgetSelected(final SelectionEvent e) {
    Object _data = e.widget.getData();
    this.info.setConfigType(((ProjectConfigType) _data));
    ProjectConfigType _configType = this.info.getConfigType();
    String _plus = ("ws: " + _configType);
    InputOutput.<String>println(_plus);
  }
}
TOP

Related Classes of org.erlide.ui.wizards.ConfigSelectionListener

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.