Package org.marian.eclipse

Source Code of org.marian.eclipse.MainView

package org.marian.eclipse;

import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.part.ViewPart;
import org.eclipse.swt.widgets.ProgressBar;
import org.eclipse.swt.widgets.Tree;

public class MainView extends ViewPart {

  public static final String ID = "org.marian.eclipse.MainView"; // TODO Needs to be whatever is mentioned in plugin.xml
  private Composite top = null;
  private ProgressBar progressBar = null;
  @Override
  public void createPartControl(Composite arg0) {
    // TODO Auto-generated method stub
    top = new Composite(arg0, SWT.NONE);
    top.setLayout(new GridLayout());
    progressBar = new ProgressBar(top, SWT.NONE);
    progressBar.setSelection(30);
  }

  @Override
  public void setFocus() {
    // TODO Auto-generated method stub

  }

//  @jve:decl-index=0:visual-constraint="10,10,501,332"
TOP

Related Classes of org.marian.eclipse.MainView

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.