コード例 #1
0
 @Override
 public void onComponentSelection() {
   LinkerSelectionContext lh = linker.getSelectionContext();
   if (lh.getSingleSelection() != null) {
     String locale = JahiaGWTParameters.getUILanguage();
     new CompareEngine(lh.getSingleSelection(), locale, linker, true, false).show();
   }
 }
コード例 #2
0
 @Override
 public void handleNewLinkerSelection() {
   LinkerSelectionContext lh = linker.getSelectionContext();
   setEnabled(lh.getSingleSelection() != null);
 }