|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DataFile in edu.cs.ai.kreator.control |
---|
Methods in edu.cs.ai.kreator.control with type parameters of type DataFile | ||
---|---|---|
|
FileController.createDataFile(java.io.File file,
java.lang.Class<T> Class)
Creates an appropriate instance of DataFile based on the extension of the given path (e.g. a KnowledgebaseFile for *.rme, ...). |
|
|
FileController.getDataFile(java.io.File file,
java.lang.Class<T> Class)
Generates an appropriate instance of DataFile based on the extension of the file (e.g. a KnowledgebaseFile for *.rme, ...). |
|
|
FileController.getDataFile(java.lang.String path,
java.lang.Class<T> Class)
Generates an appropriate instance of DataFile based on the extension of the given path (e.g. a KnowledgebaseFile for *.rme, ...). |
|
|
FileController.getExistingDataFile(java.io.File file,
java.lang.Class<T> Class)
Generates an appropriate instance of DataFile based on the extension of the given path (e.g. a KnowledgebaseFile for *.rme, ...). |
|
|
FileController.getExistingDataFile(java.lang.String path,
java.lang.Class<T> Class)
Generates an appropriate instance of DataFile based on the extension of the given path (e.g. a KnowledgebaseFile for *.rme, ...). |
Methods in edu.cs.ai.kreator.control that return DataFile | |
---|---|
DataFile |
FileController.getDataFile(java.io.File file)
Generates an appropriate instance of DataFile based on the extension of the file (e.g. a KnowledgebaseFile for *.rme, ...). |
DataFile |
FileController.getDataFile(java.lang.String path)
Generates an appropriate instance of DataFile based on the extension of the given path (e.g. a KnowledgebaseFile for *.rme, ...). |
DataFile |
FileController.getNewDataFileName(java.io.File fileOrDir,
AbstractFileFilter ff)
Shows the user a "New file..." |
DataFile |
FileController.newAndOpenDataFile(AbstractFileFilter ff)
Shows the user a "New file..." |
DataFile |
FileController.saveDataFileAs(DataFile file)
Does everything to "save a file as...". |
Methods in edu.cs.ai.kreator.control with parameters of type DataFile | |
---|---|
void |
ProjectController.addDataFile(DataFile file)
Adds a DataFile to the current project. |
boolean |
ProjectController.canAddFileToProject(DataFile file)
Returns false in the following situations: - there is no current project - the file is already in the project Then returns true if the file is in the project's directory |
boolean |
FileController.checkForExistingAndSaved(DataFile file)
Checks whether the given file exists and has no unsaved changes. |
boolean |
FileController.closeDataFile(DataFile file)
Tells the GUI to close a DataFile . |
protected void |
FileController.closeDataFileForced(DataFile file)
Tells the GUI to close a DataFile . |
void |
FileController.deleteAndRemoveDataFileConfirmed(DataFile file)
Deletes the given file from the project and file-system. |
protected void |
FileController.deleteDataFile(DataFile file)
Deletes the give DataFile. |
boolean |
FileController.deleteExistingFile(DataFile file,
java.lang.String message)
Checks whether a given file exists. |
void |
FileController.openDataFile(DataFile file)
Opens a DataFile in the GUI. |
boolean |
ProjectController.projectContains(DataFile file)
|
void |
ProjectController.removeDataFile(DataFile file)
Removes a DataFile from the current project. |
void |
FileController.saveDataFile(DataFile file)
Tells the file to save itself. |
DataFile |
FileController.saveDataFileAs(DataFile file)
Does everything to "save a file as...". |
Uses of DataFile in edu.cs.ai.kreator.datamodels |
---|
Subclasses of DataFile in edu.cs.ai.kreator.datamodels | |
---|---|
class |
KnowledgebaseFile
|
class |
KreatorScript
|
class |
OtherFile
An OtherFile object is any other KReatorfile not explicitly captured by the other children of DataFile. |
class |
SampleCollection
A SampleCollection object is a KReatorfile that contains example data |
Methods in edu.cs.ai.kreator.datamodels that return types with arguments of type DataFile | |
---|---|
java.util.List<DataFile> |
Project.getDataFiles()
|
Methods in edu.cs.ai.kreator.datamodels with parameters of type DataFile | |
---|---|
void |
Project.addDataFile(DataFile file)
|
boolean |
Project.containsDataFile(DataFile file)
Checks if the project contains a given DataFile |
boolean |
Project.removeDataFile(DataFile file)
Removes a given File from this Project and notifies the listeners. |
Uses of DataFile in edu.cs.ai.kreator.exceptions |
---|
Methods in edu.cs.ai.kreator.exceptions that return DataFile | |
---|---|
DataFile |
FileNotSavedException.getDataFile()
|
Constructors in edu.cs.ai.kreator.exceptions with parameters of type DataFile | |
---|---|
FileNotSavedException(DataFile datafile)
Constructs a FileNotSavedException with the DataFile which views are stained
This Exception is thrown if a file should be
closed or reloaded but the views of the file are stained. |
|
FileNotSavedException(java.lang.String message,
DataFile datafile)
Constructs a FileNotSavedException with a message and the DataFile which views are stained. |
Uses of DataFile in edu.cs.ai.kreator.exceptions.runtime |
---|
Methods in edu.cs.ai.kreator.exceptions.runtime that return DataFile | |
---|---|
DataFile |
StainedException.getStainedFile()
|
Constructors in edu.cs.ai.kreator.exceptions.runtime with parameters of type DataFile | |
---|---|
StainedException(DataFile dfile)
|
Uses of DataFile in edu.cs.ai.kreator.misc.util |
---|
Methods in edu.cs.ai.kreator.misc.util that return DataFile | |
---|---|
DataFile |
DataFileBijection.getImage(java.io.File file)
Returns the KreatorFile with the path file if the bijection contains it, returns null else. |
Uses of DataFile in edu.cs.ai.kreator.ui |
---|
Methods in edu.cs.ai.kreator.ui that return DataFile | |
---|---|
DataFile |
KreatorUserInterface.getCurrentOpenFile()
Returns the currently opened DataFile or null if no file is open. |
DataFile |
KreatorUserInterface.getSelectedFileFromTree()
Returns the DataFile which is currently selected in the project container or null if no file is selected. |
Methods in edu.cs.ai.kreator.ui that return types with arguments of type DataFile | |
---|---|
java.util.List<DataFile> |
KreatorUserInterface.getCurrentOpenFiles()
Returns a list of the currently opened DataFile s. |
Methods in edu.cs.ai.kreator.ui with parameters of type DataFile | |
---|---|
void |
KreatorUserInterface.cleanStainedStatus(DataFile dataFile)
Resets the DataFile 's stained status. |
void |
KreatorUserInterface.closeFile(DataFile file)
Closes the DataFile 's representation in the user interface. |
java.lang.String |
KreatorUserInterface.getFileContent(DataFile file)
Returns the editor content of a given DataFile or "" if the file is not opened in the user interface. |
boolean |
KreatorUserInterface.isOpen(DataFile file)
Returns true if the given DataFile is currently opened. |
void |
KreatorUserInterface.openFile(DataFile file)
Opens a given DataFile in the user interface (e.g. as a new tab). |
Uses of DataFile in edu.cs.ai.kreator.ui.cli.wordcompletion |
---|
Methods in edu.cs.ai.kreator.ui.cli.wordcompletion that return DataFile | |
---|---|
DataFile |
FileNameCompletion.getDataFile()
|
static DataFile |
MultiElementCompletor.getLastCompletedDataFile()
|
Constructor parameters in edu.cs.ai.kreator.ui.cli.wordcompletion with type arguments of type DataFile | |
---|---|
FileNameCompletor(java.lang.Class<? extends DataFile> fileClass,
boolean fileMustExist)
|
Uses of DataFile in edu.cs.ai.kreator.ui.gui |
---|
Methods in edu.cs.ai.kreator.ui.gui that return DataFile | |
---|---|
DataFile |
GraphicalUserInterface.getCurrentOpenFile()
|
DataFile |
GraphicalUserInterface.getSelectedFileFromTree()
|
Methods in edu.cs.ai.kreator.ui.gui that return types with arguments of type DataFile | |
---|---|
java.util.List<DataFile> |
GraphicalUserInterface.getCurrentOpenFiles()
|
Methods in edu.cs.ai.kreator.ui.gui with parameters of type DataFile | |
---|---|
void |
GraphicalUserInterface.cleanStainedStatus(DataFile dataFile)
|
void |
GraphicalUserInterface.closeFile(DataFile file)
|
java.lang.String |
GraphicalUserInterface.getFileContent(DataFile kfile)
|
boolean |
GraphicalUserInterface.isOpen(DataFile file)
|
void |
GraphicalUserInterface.openFile(DataFile file)
|
Uses of DataFile in edu.cs.ai.kreator.ui.gui.components |
---|
Methods in edu.cs.ai.kreator.ui.gui.components that return DataFile | |
---|---|
DataFile |
FileTab.getDataFile()
|
DataFile |
ProjectContainer.getSelectedDataFile()
Returns a File that points to the file of the selected file in
the project tree. |
Methods in edu.cs.ai.kreator.ui.gui.components with parameters of type DataFile | |
---|---|
FileTab |
FileTabbedPane.addFile(DataFile kfile)
Adds a DataFile as a FileTab to the mainspace. |
void |
Outline.update(DataFile file)
This method starts a process which calculates a new outline tree for the given file reference. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |