Revision 6ddb76e8
Added by Alex Theys over 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; |
|
60 | 59 |
|
61 | 60 |
/** |
62 | 61 |
* <p> |
... | ... | |
910 | 909 |
.reflow(); |
911 | 910 |
} |
912 | 911 |
} |
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 |
} |
|
939 | 912 |
} |
Also available in: Unified diff
AT: Fixing the failed branching errors/wrongly committed files