Skip to content

Commit 709de84

Browse files
committed
Remove composer parameters
1 parent 85ca100 commit 709de84

File tree

3 files changed

+0
-45
lines changed

3 files changed

+0
-45
lines changed

patternfx-mvp/src/main/java/com/techsenger/patternfx/mvp/AbstractParentFxView.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package com.techsenger.patternfx.mvp;
1818

19-
import com.techsenger.annotations.Nullable;
2019
import com.techsenger.annotations.Unmodifiable;
2120
import com.techsenger.patternfx.core.AbstractBreadthFirstIterator;
2221
import com.techsenger.patternfx.core.AbstractDepthFirstIterator;
@@ -37,8 +36,6 @@ public abstract class AbstractParentFxView<P extends ParentPresenter<?, ?>>
3736

3837
public class Composer implements ParentFxView.Composer {
3938

40-
private @Nullable ComposerParameters parameters = createParameters();
41-
4239
private final AbstractParentFxView<?> view = AbstractParentFxView.this;
4340

4441
@Override
@@ -94,15 +91,6 @@ public String toTreeString() {
9491
public String toTreeString(BiConsumer<ParentPort, StringBuilder> appender) {
9592
return view.toTreeString(depthFirstIterator(), appender);
9693
}
97-
98-
@Override
99-
public @Nullable ComposerParameters getParameters() {
100-
return this.parameters;
101-
}
102-
103-
protected @Nullable ComposerParameters createParameters() {
104-
return null;
105-
}
10694
}
10795

10896
private final ObservableList<ChildFxView<?>> modifiableChildren = FXCollections.observableArrayList();

patternfx-mvp/src/main/java/com/techsenger/patternfx/mvp/ComposerParameters.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

patternfx-mvp/src/main/java/com/techsenger/patternfx/mvp/ParentComposer.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package com.techsenger.patternfx.mvp;
1818

19-
import com.techsenger.annotations.Nullable;
2019
import com.techsenger.annotations.Unmodifiable;
2120
import com.techsenger.patternfx.core.TreeIterator;
2221
import java.util.List;
@@ -28,13 +27,6 @@
2827
*/
2928
public interface ParentComposer {
3029

31-
/**
32-
* Returns the parameters of the composer.
33-
*
34-
* @return the parameters or null.
35-
*/
36-
@Nullable ComposerParameters getParameters();
37-
3830
/**
3931
* Composes the static structure of this component by creating and adding its default child components. This
4032
* method is intended for static composition, where child components are created once during component

0 commit comments

Comments
 (0)