Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add entry for lifetime on every facility at userlevel > 0 #110

Merged
merged 7 commits into from
Jun 7, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove 'exit' from context menu
  • Loading branch information
Paul P.H. Wilson committed Jun 7, 2015
commit ccccde2657fc35305ffcc4d1d240fa89fe9c9506
9 changes: 1 addition & 8 deletions cyclist/src/edu/utexas/cycic/RegionShape.java
Original file line number Diff line number Diff line change
@@ -99,15 +99,8 @@ public void handle(ActionEvent deleteEvent) {
MenuItem delete = new MenuItem("Delete");
delete.setOnAction(deleteEvent);

EventHandler<ActionEvent> exitEvent = new EventHandler<ActionEvent>() {
public void handle(ActionEvent exitEvent) {
}
};
MenuItem exit = new MenuItem("Exit");
exit.setOnAction(exitEvent);

rect.menu = new ContextMenu();
rect.menu.getItems().addAll(regionForm, helpDialog, delete, exit);
rect.menu.getItems().addAll(regionForm, helpDialog, delete);

rect.onMouseClickedProperty().set(new EventHandler <MouseEvent>(){
@Override