public class PorFileComponent
extends AbstractFileCommandComponent
| Constructor and Description |
|---|
PorFileComponent()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommandStatement() |
javax.swing.Icon |
getComponentIcon() |
protected java.util.List<SiteAction> |
makeActions() |
boolean |
saveDialog(boolean sameDirectory)
Opens a dialog to save the editor's contents.
|
void |
saveFile() |
void |
saveFile(java.io.File file) |
void |
saveFileAs(boolean value) |
public javax.swing.Icon getComponentIcon()
protected java.util.List<SiteAction> makeActions()
public void saveFile()
public void saveFile(java.io.File file)
public void saveFileAs(boolean value)
public boolean saveDialog(boolean sameDirectory)
sameDirectory - if true, the dialog will be shown in the file's directory;
if false, it will be opened in its current directorytrue if the file has been saved; false otherwisepublic java.lang.String getCommandStatement()