Class BaseTextExplorerFileType<T extends BaseTextExplorerFileTypeHandler>
- java.lang.Object
-
- org.apache.hop.ui.hopgui.file.HopFileTypeBase
-
- org.apache.hop.ui.hopgui.perspective.explorer.file.types.base.BaseExplorerFileType<T>
-
- org.apache.hop.ui.hopgui.perspective.explorer.file.types.text.BaseTextExplorerFileType<T>
-
- All Implemented Interfaces:
IHopFileType,IExplorerFileType<T>
- Direct Known Subclasses:
LogExplorerFileType,NoExtensionExplorerFileType
public abstract class BaseTextExplorerFileType<T extends BaseTextExplorerFileTypeHandler> extends BaseExplorerFileType<T> implements IExplorerFileType<T>
-
-
Field Summary
-
Fields inherited from interface org.apache.hop.ui.hopgui.file.IHopFileType
CAPABILITY_ALIGN_BOTTOM, CAPABILITY_ALIGN_LEFT, CAPABILITY_ALIGN_RIGHT, CAPABILITY_ALIGN_TOP, CAPABILITY_CLOSE, CAPABILITY_COPY, CAPABILITY_CUT, CAPABILITY_DEBUG, CAPABILITY_DELETE, CAPABILITY_DISTRIBUTE_HORIZONTAL, CAPABILITY_DISTRIBUTE_VERTICAL, CAPABILITY_EXPORT_TO_SVG, CAPABILITY_FILE_HISTORY, CAPABILITY_HANDLE_METADATA, CAPABILITY_NEW, CAPABILITY_PASTE, CAPABILITY_PAUSE, CAPABILITY_PREVIEW, CAPABILITY_SAVE, CAPABILITY_SAVE_AS, CAPABILITY_SELECT, CAPABILITY_SNAP_TO_GRID, CAPABILITY_START, CAPABILITY_STOP
-
-
Constructor Summary
Constructors Constructor Description BaseTextExplorerFileType()BaseTextExplorerFileType(String name, String defaultFileExtension, String[] filterExtensions, String[] filterNames, Properties capabilities)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract TcreateFileTypeHandler(HopGui hopGui, ExplorerPerspective perspective, ExplorerFile file)Create a new file type handler for the given Hop GUI instance, perspective and fileabstract IHopFileTypeHandlernewFile(HopGui hopGui, IVariables parentVariableSpace)-
Methods inherited from class org.apache.hop.ui.hopgui.perspective.explorer.file.types.base.BaseExplorerFileType
getCapabilities, getContextHandlers, getDefaultFileExtension, getFileTypeImage, getFilterExtensions, getFilterNames, getName, openFile, setCapabilities, setDefaultFileExtension, setFilterExtensions, setFilterNames, setName, supportsFile
-
Methods inherited from class org.apache.hop.ui.hopgui.file.HopFileTypeBase
equals, hasCapability, isHandledBy
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.hop.ui.hopgui.file.IHopFileType
getCapabilities, getContextHandlers, getDefaultFileExtension, getFileTypeImage, getFilterExtensions, getFilterNames, getName, hasCapability, isHandledBy, openFile, supportsFile
-
-
-
-
Constructor Detail
-
BaseTextExplorerFileType
public BaseTextExplorerFileType()
-
BaseTextExplorerFileType
public BaseTextExplorerFileType(String name, String defaultFileExtension, String[] filterExtensions, String[] filterNames, Properties capabilities)
-
-
Method Detail
-
createFileTypeHandler
public abstract T createFileTypeHandler(HopGui hopGui, ExplorerPerspective perspective, ExplorerFile file)
Description copied from interface:IExplorerFileTypeCreate a new file type handler for the given Hop GUI instance, perspective and file- Specified by:
createFileTypeHandlerin interfaceIExplorerFileType<T extends BaseTextExplorerFileTypeHandler>- Specified by:
createFileTypeHandlerin classBaseExplorerFileType<T extends BaseTextExplorerFileTypeHandler>- Parameters:
hopGui- The Hop GUIperspective- The perspectivefile- The file- Returns:
-
newFile
public abstract IHopFileTypeHandler newFile(HopGui hopGui, IVariables parentVariableSpace) throws HopException
- Specified by:
newFilein interfaceIHopFileType- Throws:
HopException
-
-