Revision 739 org.gvsig.scripting/trunk/org.gvsig.scripting/org.gvsig.scripting.swing/org.gvsig.scripting.swing.impl/src/main/java/org/gvsig/scripting/swing/impl/composer/editors/TextEditor.java

View differences:

TextEditor.java
40 40
        return this.unit;
41 41
    }
42 42

  
43
    protected void setUnit(ScriptingUnit unit) {
44
        this.unit = (ScriptingExternalFile) unit;
45
    }
46
    
47
    protected void setModified(boolean modified) {
48
        this.modified = modified;
49
    }
50
            
51
    protected BaseTextEditor getTextEditor() {
52
        return this.textEditor;
53
    }
54
    
55
    protected JTabbedPane getTabbedPane() {
56
        return this.tabs;
57
    }
58
    
59
    protected JPanel getAdditionalPropetiesPanel() {
60
        return this.propertiesPanel.getAdditionalPanel();
61
    }
62
    
63
    protected ExternalFileEditor getPropertiesPanel() {
64
        return this.propertiesPanel;
65
    }
66
    
67
    protected ChangeListenerSupport getChangeListeners() {
68
        return this.changeListeners;
69
    }
70
    
43 71
    private void initComponents() {
44 72
        this.textEditor = new BaseTextEditor();
45 73
        this.textEditor.addChangeListener(new PropertyChangeListener() {

Also available in: Unified diff