com.partnersoft.workbench.model
Interface WorkbenchDirectoryHandler

All Known Implementing Classes:
AbstractWorkbenchDirectoryHandler, MapsetDirectoryHandler, MapsetsDirectoryHandler, ModuleDirectoryHandler, ModulesDirectoryHandler

public interface WorkbenchDirectoryHandler

Provides directory-appropriate editors and other behavior to the Workbench environment.

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Method Summary
 java.util.List<WorkbenchDirectoryEditor> createEditors()
          Creates and returns a list of editors for the files this handler handles.
 javax.swing.Icon getIcon()
          Returns an icon appropriate to this file type.
 java.lang.String getName()
          Returns the name for this file type.
 boolean isAppropriateFor(VfsDirectory directory)
          Returns true if this handler can handle the given directory.
 

Method Detail

isAppropriateFor

boolean isAppropriateFor(VfsDirectory directory)
Returns true if this handler can handle the given directory.

Parameters:
directory - VfsDirectory to test
Returns:
true if this handler is appropriate for the given directory

createEditors

java.util.List<WorkbenchDirectoryEditor> createEditors()
Creates and returns a list of editors for the files this handler handles.


getIcon

javax.swing.Icon getIcon()
Returns an icon appropriate to this file type.


getName

java.lang.String getName()
Returns the name for this file type.