protected MinimalState(MinimalState state) { this.fState = stateObjectFactory.createState(state.fState); this.fState.setPlatformProperties(state.fState.getPlatformProperties()); this.fState.setResolver(Platform.getPlatformAdmin().createResolver()); this.fId = state.fId; this.fEEListChanged = state.fEEListChanged; this.fExecutionEnvironments = state.fExecutionEnvironments; this.fNoProfile = state.fNoProfile; this.fSystemBundle = state.fSystemBundle; }
protected void copyState(State state) { fStateCopy = state.getFactory().createState(state); fStateCopy.setResolver(Platform.getPlatformAdmin().createResolver()); fStateCopy.setPlatformProperties(state.getPlatformProperties()); }