[ooo-build-commit] ooeclipse: Branch 'master'
Cédric Bosdonnat
cbosdo at kemper.freedesktop.org
Tue Nov 10 05:05:38 PST 2009
core/source/org/openoffice/ide/eclipse/core/editors/description/LicenseSection.java | 1 +
core/source/org/openoffice/ide/eclipse/core/editors/description/PublisherSection.java | 6 +++++-
core/source/org/openoffice/ide/eclipse/core/editors/description/ReleaseNotesSection.java | 4 +++-
3 files changed, 9 insertions(+), 2 deletions(-)
New commits:
commit f962959a0cfd42068fc737f90de88c67702b39e1
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date: Tue Nov 10 14:05:57 2009 +0100
[core]Fixed some fields refreshing in description.xml editor
diff --git a/core/source/org/openoffice/ide/eclipse/core/editors/description/LicenseSection.java b/core/source/org/openoffice/ide/eclipse/core/editors/description/LicenseSection.java
index 6c4c7c3..b2c04d4 100644
--- a/core/source/org/openoffice/ide/eclipse/core/editors/description/LicenseSection.java
+++ b/core/source/org/openoffice/ide/eclipse/core/editors/description/LicenseSection.java
@@ -89,6 +89,7 @@ public class LicenseSection extends LocalizedSection< DescriptionModel > {
*/
public void loadData() {
getModel().setSuspendEvent( true );
+ mFileTxt.setText( getModel().getLicenses().get( mCurrentLocale ) );
mSuppressUpdateBtn.setSelection( getModel().isSuppressOnUpdate() );
mUserAcceptBtn.setSelection( getModel().isAcceptByUser() );
getModel().setSuspendEvent( false );
diff --git a/core/source/org/openoffice/ide/eclipse/core/editors/description/PublisherSection.java b/core/source/org/openoffice/ide/eclipse/core/editors/description/PublisherSection.java
index 309c5f8..3cadc28 100644
--- a/core/source/org/openoffice/ide/eclipse/core/editors/description/PublisherSection.java
+++ b/core/source/org/openoffice/ide/eclipse/core/editors/description/PublisherSection.java
@@ -75,7 +75,11 @@ public class PublisherSection extends LocalizedSection< DescriptionModel > {
*/
@Override
public void loadData() {
- // Nothing to do: everything is localized
+ getModel().setSuspendEvent( true );
+ PublisherInfos pubInfos = getModel().getPublisherInfos().get( mCurrentLocale );
+ mUrlTxt.setText( pubInfos.getUrl() );
+ mNameTxt.setText( pubInfos.getName() );
+ getModel().setSuspendEvent( false );
}
/**
diff --git a/core/source/org/openoffice/ide/eclipse/core/editors/description/ReleaseNotesSection.java b/core/source/org/openoffice/ide/eclipse/core/editors/description/ReleaseNotesSection.java
index 70f8f60..38f51db 100644
--- a/core/source/org/openoffice/ide/eclipse/core/editors/description/ReleaseNotesSection.java
+++ b/core/source/org/openoffice/ide/eclipse/core/editors/description/ReleaseNotesSection.java
@@ -75,7 +75,9 @@ public class ReleaseNotesSection extends LocalizedSection< DescriptionModel > im
*/
@Override
public void loadData() {
- // Nothing to do: everything is localized
+ getModel().setSuspendEvent( true );
+ mUrlTxt.setText( getModel().getReleaseNotes().get( mCurrentLocale ) );
+ getModel().setSuspendEvent( false );
}
/**
More information about the ooo-build-commit
mailing list