class AttributeColumnPropertyEditor extends PropertyEditorSupport {

    private Column column;
    private GraphModel model;

    @Override
    public Object getValue() {
        return column;
    }

    @Override
    public void setValue(Object value) {
        this.column = (Column) value;
    }

    @Override
    public String getAsText() {<FILL_FUNCTION_BODY>}

    @Override
    public void setAsText(String text) throws IllegalArgumentException {
        if (!text.equals("null")) {
            String[] arr = text.split("\\*-\\*");
            if (arr[0].equals("NODE")) {
                column = model.getNodeTable().getColumn(arr[1]);
            } else if (arr[0].equals("EDGE")) {
                column = model.getEdgeTable().getColumn(arr[1]);
            }
        }
    }

    public void setGraphModel(GraphModel model) {
        this.model = model;
    }
}

        if (column != null) {
            if (AttributeUtils.isNodeColumn(column)) {
                return "NODE*-*" + column.getId() + "*-*" + column.getTypeClass().getName();
            } else {
                return "EDGE*-*" + column.getId() + "*-*" + column.getTypeClass().getName();
            }
        }
        return "null";

    
<methods>public void <init>() ,public void <init>(java.lang.Object) ,public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener) ,public void firePropertyChange() ,public java.lang.String getAsText() ,public java.awt.Component getCustomEditor() ,public java.lang.String getJavaInitializationString() ,public java.lang.Object getSource() ,public java.lang.String[] getTags() ,public java.lang.Object getValue() ,public boolean isPaintable() ,public void paintValue(java.awt.Graphics, java.awt.Rectangle) ,public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener) ,public void setAsText(java.lang.String) throws java.lang.IllegalArgumentException,public void setSource(java.lang.Object) ,public void setValue(java.lang.Object) ,public boolean supportsCustomEditor() <variables>private Vector<java.beans.PropertyChangeListener> listeners,private java.lang.Object source,private java.lang.Object value