public boolean isPresetEmpty(Integer preset) throws NoSuchPresetException, NoSuchContextException {
return getPresetState(preset) == RemoteObjectStates.STATE_EMPTY;
}
private Impl_ReadablePreset getPresetImplementation(Integer preset) throws NoSuchPresetException {
DesktopEditingMediator dem = null;
// if (mainView != null)
// dem = ((DeviceInternalFrame) mainView).getDesktopEditingMediator();
if (isPresetInContext(preset))
if (preset.intValue() <= DeviceContext.MAX_USER_PRESET)