Java Code Examples for com.intellij.util.xmlb.XmlSerializerUtil#copyBean()

The following examples show how to use com.intellij.util.xmlb.XmlSerializerUtil#copyBean() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HttpConfigurable.java    From consulo with Apache License 2.0 5 votes vote down vote up
@Override
public HttpConfigurable getState() {
  CommonProxy.isInstalledAssertion();

  HttpConfigurable state = new HttpConfigurable();
  XmlSerializerUtil.copyBean(this, state);
  if (!KEEP_PROXY_PASSWORD) {
    removeSecure("proxy.password");
  }
  correctPasswords(state);
  return state;
}
 
Example 2
Source File: XQuerySettings.java    From intellij-xquery with Apache License 2.0 5 votes vote down vote up
@Override
public void loadState(XQuerySettings state) {
    if (!this.equals(state)) {
        modificationCount++;
    }
    XmlSerializerUtil.copyBean(state, this);
}
 
Example 3
Source File: Settings.java    From sass-lint-plugin with MIT License 4 votes vote down vote up
@Override
public void loadState(@NotNull Settings state) {
    XmlSerializerUtil.copyBean(state, this);
}
 
Example 4
Source File: KeyPromoterSettings.java    From IntelliJ-Key-Promoter-X with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@Override
public void loadState(@NotNull KeyPromoterSettings keyPromoterSettings) {
  XmlSerializerUtil.copyBean(keyPromoterSettings, this);
}
 
Example 5
Source File: RunAnythingCache.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(@Nonnull State state) {
  XmlSerializerUtil.copyBean(state, mySettings);

  updateNewProvidersGroupVisibility(mySettings);
}
 
Example 6
Source File: ImportFilteringUsageViewSetting.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(final ImportFilteringUsageViewSetting state) {
  XmlSerializerUtil.copyBean(state, this);
}
 
Example 7
Source File: AndroidLogcatPreferences.java    From logviewer with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(@NotNull AndroidLogcatPreferences object) {
    XmlSerializerUtil.copyBean(object, this);
}
 
Example 8
Source File: FlutterLogPreferences.java    From flutter-intellij with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@Override
public void loadState(@NotNull FlutterLogPreferences object) {
  XmlSerializerUtil.copyBean(object, this);
}
 
Example 9
Source File: ErrorTreeViewConfiguration.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(final ErrorTreeViewConfiguration state) {
  XmlSerializerUtil.copyBean(state, this);
}
 
Example 10
Source File: TemplateSettings.java    From code-generator with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(TemplateSettings state) {
    XmlSerializerUtil.copyBean(state, this);
}
 
Example 11
Source File: UsageViewSettings.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(final UsageViewSettings object) {
  XmlSerializerUtil.copyBean(object, this);
}
 
Example 12
Source File: SettingService.java    From codehelper.generator with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(SettingDto o) {
    XmlSerializerUtil.copyBean(o, getState());
}
 
Example 13
Source File: DuplocatorSettings.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(@Nonnull DuplocatorSettings object) {
  XmlSerializerUtil.copyBean(object, this);
}
 
Example 14
Source File: BuiltInServerOptions.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(BuiltInServerOptions state) {
  XmlSerializerUtil.copyBean(state, this);
}
 
Example 15
Source File: MasterDetailsComponent.java    From consulo with Apache License 2.0 4 votes vote down vote up
protected void loadState(final MasterDetailsState object) {
  XmlSerializerUtil.copyBean(object, myState);
}
 
Example 16
Source File: DojoSettings.java    From needsmoredojo with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(DojoSettings state) {
    XmlSerializerUtil.copyBean(state, this);
}
 
Example 17
Source File: RunAnythingContextRecentDirectoryCache.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(State state) {
  XmlSerializerUtil.copyBean(state, myState);
}
 
Example 18
Source File: BlazeJavaUserSettings.java    From intellij with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(BlazeJavaUserSettings state) {
  XmlSerializerUtil.copyBean(state, this);
}
 
Example 19
Source File: XQueryRunVariables.java    From intellij-xquery with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(XQueryRunVariables state) {
    XmlSerializerUtil.copyBean(state, this);
}
 
Example 20
Source File: ProblemsViewConfiguration.java    From intellij with Apache License 2.0 4 votes vote down vote up
@Override
public void loadState(final ProblemsViewConfiguration state) {
  XmlSerializerUtil.copyBean(state, this);
}