summaryrefslogtreecommitdiff
path: root/src/main/java/org/cristalise/gui/tabs/outcome/OutcomeHandler.java
blob: 4d7e66c81852836d3be19c04a0164941497d5cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.cristalise.gui.tabs.outcome;
import java.io.File;

import javax.swing.JPanel;

public interface OutcomeHandler extends Runnable {

    public void setOutcome(String outcome) throws InvalidOutcomeException;
    public void setDescription(String description) throws InvalidSchemaException;
    public void setReadOnly(boolean readOnly);
    public JPanel getPanel() throws OutcomeNotInitialisedException;
    public boolean isUnsaved();
    public void saved();
    public String getOutcome() throws OutcomeException;
    public void export(File targetFile) throws Exception;
}