Package org.encog.workbench.tabs

Examples of org.encog.workbench.tabs.EncogCommonTab


    }

  }

  public void performSave() {
    EncogCommonTab tab = this.owner.getTabManager()
        .getCurrentTab();
    if (tab != null) {
      tab.save();
    }

  }
View Full Code Here


      EncogWorkBench.getInstance().getMainWindow().getTree().refresh();
    }
  }

  public void performEditFind() {
    EncogCommonTab tab = EncogWorkBench.getInstance().getMainWindow().getTabManager().getCurrentTab();

    if( tab instanceof BasicTextTab ) {
      ((BasicTextTab)tab).find();
    }
   
View Full Code Here

    return tree;
  }
 
  public void openEGFile(ProjectEGFile file) {
    Object obj = file.getObject();
    EncogCommonTab tab = null;
     
    if( obj instanceof MLMethod ) {
      tab = new MLMethodTab(file);
    } else if( obj instanceof NEATPopulation ) {
      tab = new NEATPopulationTab(file);
View Full Code Here

  }

  public void openFile(ProjectFile file) {
    try {
      EncogWorkBench.getInstance().getMainWindow().beginWait();
      EncogCommonTab tab = this.tabManager.find(file.getFile());
     
      if( tab!=null ) {
        this.tabManager.selectTab(tab);
        return;
      }
View Full Code Here

  }

  public void openTextFile(ProjectFile file) {
    try {
      EncogWorkBench.getInstance().getMainWindow().beginWait();
      EncogCommonTab tab = this.tabManager.find(file.getFile());
      if (tab == null) {
        tab = new TextFileTab(file);
        this.tabManager.openTab(tab);
      } else {
        this.tabManager.selectTab(tab);
View Full Code Here

  public BufferedNeuralDataSet getData() {
    return this.data;
  }
 
  public void performVisualize() {
    EncogCommonTab tab = new VisualizeGridTab(data);
    EncogWorkBench.getInstance().getMainWindow().getTabManager().openTab(tab);
  }
View Full Code Here

    boolean documentOpen = EncogWorkBench.getInstance().getProjectDirectory()!=null;
   
    JTabbedPane tabs = this.owner.getTabManager().getDocumentTabs();

   
    EncogCommonTab currentTab = (EncogCommonTab)tabs.getSelectedComponent();
   
    this.menuFileNew.setEnabled(!modal && documentOpen);
    this.menuFileChangeDir.setEnabled(!modal);
    this.menuFileNewProject.setEnabled(!modal);
    this.menuFileQuit.setEnabled(true);
View Full Code Here

TOP

Related Classes of org.encog.workbench.tabs.EncogCommonTab

Copyright © 2018 www.massapicom. 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.