Skip to content

Commit

Permalink
#217 renamed books-example
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-mauky committed Jul 2, 2015
1 parent 2e99e45 commit ba92846
Show file tree
Hide file tree
Showing 22 changed files with 34 additions and 34 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>mvvmfx-library-example</artifactId>
<artifactId>books-example</artifactId>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ public void initialize() {

viewModel.selectedBookProperty().bind(bookList.getSelectionModel().selectedItemProperty());
errorLabel.textProperty().bind(viewModel.errorProperty());

searchButton.disableProperty().bind(viewModel.getSearchCommand().executableProperty().not());

}

public void searchButtonPressed() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public class MainViewModel implements ViewModel {
private ObjectProperty<BookListItemViewModel> selectedBook = new SimpleObjectProperty<>();

private StringProperty error = new SimpleStringProperty();

private Command searchCommand;

public MainViewModel(LibraryService libraryService) {
this.libraryService = libraryService;

searchCommand = new DelegateCommand(() -> new Action() {
@Override
protected void action() throws Exception {
Expand All @@ -53,7 +53,7 @@ protected void action() throws Exception {
public Command getSearchCommand() {
return searchCommand;
}

void search() {
Consumer<Error> errorHandler = err -> error.set(err.getMessage());

Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
.container {

}

.label
{
-fx-text-fill: black;
}

.title1{
-fx-font-size:50;
}

.title2{
-fx-font-size:40;
-fx-text-fill: gray;
}

.errorLabel{
-fx-font-size:20;
-fx-text-fill: red;
}

.split-pane *.split-pane-divider {
-fx-padding: 0 1 0 1;
}
.container {

}

.label
{
-fx-text-fill: black;
}

.title1{
-fx-font-size:50;
}

.title2{
-fx-font-size:40;
-fx-text-fill: gray;
}

.errorLabel{
-fx-font-size:20;
-fx-text-fill: red;
}

.split-pane *.split-pane-divider {
-fx-padding: 0 1 0 1;
}
4 changes: 2 additions & 2 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<module>mvvmfx-helloworld-without-fxml</module>
<module>mvvmfx-synchronizefx</module>
<module>mvvmfx-contacts</module>
<module>mvvmfx-books-example</module>
<module>books-example</module>
<module>mvvmfx-todomvc</module>
</modules>

Expand Down Expand Up @@ -71,7 +71,7 @@
</dependency>
<dependency>
<groupId>de.saxsys.mvvmfx</groupId>
<artifactId>mvvmfx-library-example</artifactId>
<artifactId>books-example</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down

0 comments on commit ba92846

Please sign in to comment.