<commit_before>package org.pentaho.ui.xul.gwt;

import org.pentaho.ui.xul.XulComponent;
import org.pentaho.ui.xul.XulDomContainer;
import org.pentaho.ui.xul.XulException;
import org.pentaho.ui.xul.binding.Binding;
import org.pentaho.ui.xul.dom.Document;
import org.pentaho.ui.xul.dom.Element;

public class GwtDomDocument extends GwtDomElement implements Document {
  
  Element rootElement;
  XulDomContainer container;
  
  public GwtDomDocument() {
    super("DOCUMENT");
  }
  
  public XulComponent getRootElement() {
    // TODO Auto-generated method stub
    return (XulComponent) getFirstChild();
  }



  public void addOverlay(String src) throws XulException {
    
        // TODO Auto-generated method stub 
      
  }

  public XulComponent createElement(String elementName) throws XulException {
    return this.container.getXulLoader().createElement(elementName);
  }

  public void invokeLater(Runnable runnable) {
    
        // TODO Auto-generated method stub 
      
  }

  public boolean isRegistered(String elementName) {
    return false;
  }

  public void loadFragment(String id, String src) throws XulException {
    
        // TODO Auto-generated method stub 
      
  }

  public void removeOverlay(String src) throws XulException {
    
        // TODO Auto-generated method stub 
      
  }

  public void setXulDomContainer(XulDomContainer container) {
    this.container = container;
  }

  public void addBinding(Binding bind) {
    ((GwtXulDomContainer) this.container).addBinding(bind);
    
  }

  public void addInitializedBinding(Binding b) {
    ((GwtXulDomContainer) this.container).addInitializedBinding(b);
    
  }<commit_msg>[AGILEBI-72] Introduction of SpoonPerspectives. Jobs/Transformations functionality migrated to a perspective. <commit_after>package org.pentaho.ui.xul.gwt;

import org.pentaho.ui.xul.XulComponent;
import org.pentaho.ui.xul.XulDomContainer;
import org.pentaho.ui.xul.XulException;
import org.pentaho.ui.xul.binding.Binding;
import org.pentaho.ui.xul.dom.Document;
import org.pentaho.ui.xul.dom.Element;

public class GwtDomDocument extends GwtDomElement implements Document {
  
  Element rootElement;
  XulDomContainer container;
  
  public GwtDomDocument() {
    super("DOCUMENT");
  }
  
  public XulComponent getRootElement() {
    // TODO Auto-generated method stub
    return (XulComponent) getFirstChild();
  }



  public void addOverlay(String src) throws XulException {
    
        // TODO Auto-generated method stub 
      
  }

  public XulComponent createElement(String elementName) throws XulException {
    return this.container.getXulLoader().createElement(elementName);
  }

  public void invokeLater(Runnable runnable) {
    
        // TODO Auto-generated method stub 
      
  }

  public boolean isRegistered(String elementName) {
    return false;
  }

  public void loadFragment(String id, String src) throws XulException {
    
        // TODO Auto-generated method stub 
      
  }

  public void removeOverlay(String src) throws XulException {
    
        // TODO Auto-generated method stub 
      
  }

  public void setXulDomContainer(XulDomContainer container) {
    this.container = container;
  }

  public void addBinding(Binding bind) {
    ((GwtXulDomContainer) this.container).addBinding(bind);
    
  }

  public void addInitializedBinding(Binding b) {
    ((GwtXulDomContainer) this.container).addInitializedBinding(b);
    
  }

  public void loadPerspective(String id) {
    
  }
  
  
{'fraction_non_alphanumeric': 0.08524027459954234, 'fraction_numerical': 0.0005720823798627002, 'mean_word_length': 3.3013530135301354, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1888863', 'n_tokens_mistral': 1075, 'n_tokens_neox': 1040, 'n_words': 234}