kit/src/main/java/com/oracle/javafx/scenebuilder/kit/editor/job/BringForwardJob.java [48:76]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        super(editorController);
    }

    @Override
    public boolean isExecutable() {
        final Selection selection = getEditorController().getSelection();
        if (selection.getGroup() instanceof ObjectSelectionGroup == false) {
            return false;
        }
        final ObjectSelectionGroup osg = (ObjectSelectionGroup) selection.getGroup();
        for (FXOMObject item : osg.getSortedItems()) {
            final FXOMObject nextSlibing = item.getNextSlibing();
            if (nextSlibing == null) {
                return false;
            }
        }
        return true;
    }

    @Override
    protected List<Job> makeAndExecuteSubJobs() {

        assert isExecutable(); // (1)
        final List<Job> result = new ArrayList<>();

        final Selection selection = getEditorController().getSelection();
        assert selection.getGroup() instanceof ObjectSelectionGroup; // Because of (1)
        final ObjectSelectionGroup osg = (ObjectSelectionGroup) selection.getGroup();
        final List<FXOMObject> candidates = osg.getSortedItems();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



kit/src/main/java/com/oracle/javafx/scenebuilder/kit/editor/job/BringToFrontJob.java [48:76]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        super(editorController);
    }

    @Override
    public boolean isExecutable() {
        final Selection selection = getEditorController().getSelection();
        if (selection.getGroup() instanceof ObjectSelectionGroup == false) {
            return false;
        }
        final ObjectSelectionGroup osg = (ObjectSelectionGroup) selection.getGroup();
        for (FXOMObject item : osg.getSortedItems()) {
            final FXOMObject nextSlibing = item.getNextSlibing();
            if (nextSlibing == null) {
                return false;
            }
        }
        return true;
    }

    @Override
    protected List<Job> makeAndExecuteSubJobs() {

        assert isExecutable(); // (1)
        final List<Job> result = new ArrayList<>();

        final Selection selection = getEditorController().getSelection();
        assert selection.getGroup() instanceof ObjectSelectionGroup; // Because of (1)
        final ObjectSelectionGroup osg = (ObjectSelectionGroup) selection.getGroup();
        final List<FXOMObject> candidates = osg.getSortedItems();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



