Default {@link #getZclass} as follows: (since 3.5.0)
238239240241242243244245246247
timeTracker.zoomDecrease(); } public void add(final IToolbarCommand... commands) { Component toolbar = getToolbar(); Separator separator = getSeparator(); for (IToolbarCommand c : commands) { toolbar.insertBefore(asButton(c), separator); } }
264265266267268269270271272
} @SuppressWarnings("unchecked") private Separator getSeparator() { List<Component> children = getToolbar().getChildren(); Separator separator = ComponentsFinder.findComponentsOfType( Separator.class, children).get(0); return separator; }
236237238239240241242243244245
} public void add(final IToolbarCommand... commands) { Component toolbar = getToolbar(); resetToolbar(toolbar); Separator separator = getSeparator(); for (IToolbarCommand c : commands) { toolbar.insertBefore(asButton(c), separator); } }
271272273274275276277278279