public void onComponentSelection() {
new ContentImport(linker, linker.getSelectionContext().getSingleSelection()).show();
}
public void handleNewLinkerSelection() {
LinkerSelectionContext lh = linker.getSelectionContext();
setEnabled(lh.getSingleSelection() != null
&& PermissionsUtils.isPermitted("jcr:write", lh.getSelectionPermissions())
&& !lh.isLocked()
&& !lh.getSingleSelection().isNodeType("jnt:virtualsite"));
}