AbstractSavable
public interface Savable
AbstractSavable
to create instances of this interface rather than implementing it
directly.Modifier and Type | Field | Description |
---|---|---|
static org.openide.util.Lookup |
REGISTRY |
Global registry of all
Savable s that are modified in the
application and subject to save by Save All action. |
Modifier and Type | Method | Description |
---|---|---|
void |
save() |
Invoke the save operation.
|
String |
toString() |
Human descriptive, localized name of the savable.
|
static final org.openide.util.Lookup REGISTRY
Savable
s that are modified in the
application and subject to save by Save All action. See
AbstractSavable
for description how to register your own
implementation into the registry.void save() throws IOException
IOException
- if the object could not be savedBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.