Revision a10131a0
Added by Alex Theys about 12 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/AbstractUtility.java | ||
---|---|---|
56 | 56 |
import eu.etaxonomy.taxeditor.view.AbstractCdmDataViewer; |
57 | 57 |
import eu.etaxonomy.taxeditor.view.detail.DetailsViewPart; |
58 | 58 |
import eu.etaxonomy.taxeditor.view.supplementaldata.SupplementalDataViewPart; |
59 |
import eu.etaxonomy.taxeditor.view.userecords.UseRecordsViewPart; |
|
59 | 60 |
|
60 | 61 |
/** |
61 | 62 |
* <p> |
... | ... | |
909 | 910 |
.reflow(); |
910 | 911 |
} |
911 | 912 |
} |
913 |
|
|
914 |
public static UseRecordsViewPart getUseRecordsView() { |
|
915 |
return (UseRecordsViewPart) getView(UseRecordsViewPart.ID, false); |
|
916 |
} |
|
917 |
|
|
918 |
/** |
|
919 |
* <p> |
|
920 |
* refreshUseRecordsViewer |
|
921 |
* </p> |
|
922 |
*/ |
|
923 |
public static void refreshUseRecordsViewer() { |
|
924 |
if (getUseRecordsView() != null) { |
|
925 |
((AbstractCdmDataViewer) getUseRecordsView().getViewer()).refresh(); |
|
926 |
} |
|
927 |
} |
|
928 |
|
|
929 |
/** |
|
930 |
* <p> |
|
931 |
* reflowUseRecordsViewer |
|
932 |
* </p> |
|
933 |
*/ |
|
934 |
public static void reflowUseRecordsViewer() { |
|
935 |
if (getUseRecordsView() != null) { |
|
936 |
((AbstractCdmDataViewer) getUseRecordsView().getViewer()).reflow(); |
|
937 |
} |
|
938 |
} |
|
912 | 939 |
} |
Also available in: Unified diff
AT: commiting Palm Use Data extension