package bluej.groupwork.ui;
import bluej.groupwork.TeamStatusInfo;
import bluej.pkgmgr.Project;
import threadchecker.OnThread;
import threadchecker.Tag;
import java.io.File;
import java.util.Set;
import javafx.stage.Window;
| Common functionality between the two different commit dialogs in BlueJ - the "commit only"
|* dialog vs the "commit and push dialog".
*
* @author Fabio Heday
*/
@OnThread(Tag.FXPlatform)
public interface CommitAndPushInterface{
public void setVisible(boolean show);
public String getComment();
public void reset();
|
|/**
| Get a list of the layout files to be committed
|
public Set getChangedLayoutFiles();
| Get a set of the layout files which have changed (with status info).
|
public Set getChangedLayoutInfo();
public boolean includeLayout();
| Start the activity indicator.
|
public void startProgress();
| Stop the activity indicator. Call from any thread.
|
@OnThread(Tag.Any)
public void stopProgress();
public Project getProject();
| Displays a message on the commit/push window.
| @param msg
|
public default void displayMessage(String msg){
}
public Window asWindow();
public void setLocationRelativeTo(Window w);
| Check whether the dialog is currently open.
|
public boolean isShowing();
}
. getChangedLayoutFiles
. getChangedLayoutInfo
. includeLayout
. startProgress
. stopProgress
. getProject
. displayMessage
. asWindow
. setLocationRelativeTo
. isShowing
51 neLoCode
+ 9 LoComm