com.partnersoft.workbench.editors
Class AbstractHtmlPanelFileEditor

java.lang.Object
  extended by com.partnersoft.workbench.model.AbstractWorkbenchFileEditor
      extended by com.partnersoft.workbench.editors.AbstractHtmlPanelFileEditor
All Implemented Interfaces:
WorkbenchEditor, WorkbenchFileEditor
Direct Known Subclasses:
MapsetDataTypeFieldsEditor

public abstract class AbstractHtmlPanelFileEditor
extends AbstractWorkbenchFileEditor

Handy starting point for file editors based on an HTML layout with links.

Copyright 2009 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Field Summary
 
Fields inherited from class com.partnersoft.workbench.model.AbstractWorkbenchFileEditor
actionBureau, file, gui, name, workbench
 
Constructor Summary
AbstractHtmlPanelFileEditor(java.lang.String name)
           
 
Method Summary
 void readHtmlFrom(VfsFile htmlFile)
           
 void save()
           
 void setHtml(java.lang.String htmlText)
           
 void setLine(int newLine)
           
protected  void writeActionLink(HtmlBuilder builder, java.lang.String label, java.lang.String actionName)
           
 
Methods inherited from class com.partnersoft.workbench.model.AbstractWorkbenchFileEditor
doAction, doAction, getFile, getGui, getName, getWorkbench, loadCog, loadObject, saveCog, saveObject, setFile, setWorkbench
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.partnersoft.workbench.model.WorkbenchEditor
load
 

Constructor Detail

AbstractHtmlPanelFileEditor

public AbstractHtmlPanelFileEditor(java.lang.String name)
Method Detail

writeActionLink

protected void writeActionLink(HtmlBuilder builder,
                               java.lang.String label,
                               java.lang.String actionName)
                        throws java.io.IOException
Throws:
java.io.IOException

setHtml

public void setHtml(java.lang.String htmlText)

readHtmlFrom

public void readHtmlFrom(VfsFile htmlFile)

save

public void save()
          throws java.io.IOException
Throws:
java.io.IOException

setLine

public void setLine(int newLine)