com.partnersoft.workbench.handlers
Class StyleFileHandler

java.lang.Object
  extended by com.partnersoft.workbench.model.AbstractWorkbenchFileHandler
      extended by com.partnersoft.workbench.handlers.StyleFileHandler
All Implemented Interfaces:
WorkbenchFileHandler

public class StyleFileHandler
extends AbstractWorkbenchFileHandler


Constructor Summary
StyleFileHandler(java.lang.String typeName)
           
 
Method Summary
 boolean isAppropriateFor(VfsFile file)
          Returns true if this handler can handle the given file.
 
Methods inherited from class com.partnersoft.workbench.model.AbstractWorkbenchFileHandler
createEditors, getEditorClasses, getIcon, getName, getValidExtensions, setEditorClasses, setEditorClasses, setIcon, setName, setValidExtensions, setValidExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleFileHandler

public StyleFileHandler(java.lang.String typeName)
Method Detail

isAppropriateFor

public boolean isAppropriateFor(VfsFile file)
Description copied from interface: WorkbenchFileHandler
Returns true if this handler can handle the given file.

Specified by:
isAppropriateFor in interface WorkbenchFileHandler
Overrides:
isAppropriateFor in class AbstractWorkbenchFileHandler
Parameters:
file - VfsFile to test
Returns:
true if this handler is appropriate for the given file