这是一个错误还是某个地方的文档说不要在指令的名称中使用后缀"start"?只有'finish'指令才有效.
HTML:
<html ng-app="myApp">
...
<body>
<h2>Angular doesn't like the suffix 'start'</h2>
<div this-is-the-start="abc"></div>
<div this-is-the-finish="abc"></div>
</body>
...
</html>
Run Code Online (Sandbox Code Playgroud)
JS:
var myApp = angular.module('myApp',[]);
myApp.directive('thisIsTheFinish', function() {
return {
restrict: 'A',
template: 'finish'
}
});
myApp.directive('thisIsTheStart', function() {
return {
restrict: 'A',
template: 'start'
}
});
Run Code Online (Sandbox Code Playgroud)
我一直在寻找这个问题的解决方案。
在我看来,如果不依赖HDFS和Hadoop,就无法在Java程序中嵌入读写Parquet格式。它是否正确?
我想在Hadoop集群之外的客户端计算机上进行读写。
我开始对Apache Drill感到兴奋,但是看来它必须作为单独的进程运行。我需要的是一种使用Parquet格式读写文件的过程中功能。
通常,在编辑器中,可以使用以下内容提供上下文菜单(在org.eclipse.ui.menus扩展名中声明).
MenuManager menuManager = new MenuManager();
Control menuParent = ... ;//some Control in the editor
Menu contextMenu = menuManager.createContextMenu(menuParent);
menuParent.setMenu(contextMenu);
getEditorSite().registerContextMenu(CONTEXT_MENU_ID, menuManager, getMySelectionProvider(), false);
Run Code Online (Sandbox Code Playgroud)
我想在Dialog中做类似的事情.
显然,我的谷歌搜索技能今天缺乏,因为我似乎找不到任何东西,只有一个人在DZone上问同样的事情而没有成功.
甚至可以通过扩展点向Dialog中的控件提供菜单吗?
angularjs ×1
apache-drill ×1
data-formats ×1
eclipse-rcp ×1
hadoop ×1
java ×1
jface ×1
parquet ×1