本文整理汇总了Java中org.eclipse.gef.ui.parts.SelectionSynchronizer类的典型用法代码示例。如果您正苦于以下问题:Java SelectionSynchronizer类的具体用法?Java SelectionSynchronizer怎么用?Java SelectionSynchronizer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SelectionSynchronizer类属于org.eclipse.gef.ui.parts包,在下文中一共展示了SelectionSynchronizer类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: DiagramEditorOutlinePage
import org.eclipse.gef.ui.parts.SelectionSynchronizer; //导入依赖的package包/类
/**
* Creates a new GraphicsEditorOutlinePage. It is important, that this outline page uses the same handlers (ActionRegistry, KeyHandler, ZoomManagerAdapter,
* ...) as the main editor, so that the behaviour is synchronized between them.
*
* @param diagramEditor
* the attached diagram editor
* @since 0.9
*/
public DiagramEditorOutlinePage(IDiagramContainerUI diagramEditor) {
super(new TriqOutlineTreeViewer(diagramEditor));
_graphicalViewer = diagramEditor.getGraphicalViewer();
_actionRegistry = diagramEditor.getAdapter(ActionRegistry.class);
_editDomain = diagramEditor.getEditDomain();
_keyHandler = diagramEditor.getAdapter(KeyHandler.class);
_selectionSynchronizer = diagramEditor.getAdapter(SelectionSynchronizer.class);
_diagramEditor = diagramEditor;
}
开发者ID:eclipse,项目名称:triquetrum,代码行数:18,代码来源:DiagramEditorOutlinePage.java
示例2: getSelectionSynchronizer
import org.eclipse.gef.ui.parts.SelectionSynchronizer; //导入依赖的package包/类
@Override
protected SelectionSynchronizer getSelectionSynchronizer() {
if (synchronizer == null) {
synchronizer = new TriqSelectionSynchronizer();
}
return synchronizer;
}
开发者ID:eclipse,项目名称:triquetrum,代码行数:8,代码来源:TriqDiagramEditor.java
示例3: getSelectionSynchronizer
import org.eclipse.gef.ui.parts.SelectionSynchronizer; //导入依赖的package包/类
public SelectionSynchronizer getSelectionSynchronizer() {
return super.getSelectionSynchronizer();
}
开发者ID:bsteker,项目名称:bdf2,代码行数:4,代码来源:DbToolGefEditor.java
示例4: getEditorSelectionSynchronizer
import org.eclipse.gef.ui.parts.SelectionSynchronizer; //导入依赖的package包/类
public SelectionSynchronizer getEditorSelectionSynchronizer() {
return getSelectionSynchronizer();
}
开发者ID:ShoukriKattan,项目名称:ForgedUI-Eclipse,代码行数:4,代码来源:GUIEditor.java
示例5: getSelectionSynchronizer
import org.eclipse.gef.ui.parts.SelectionSynchronizer; //导入依赖的package包/类
@Override
public SelectionSynchronizer getSelectionSynchronizer() {
return super.getSelectionSynchronizer();
}
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:5,代码来源:AGraphicEditor.java
示例6: getSelectionSynchronizer
import org.eclipse.gef.ui.parts.SelectionSynchronizer; //导入依赖的package包/类
public SelectionSynchronizer getSelectionSynchronizer() {
if (this.synchronizer == null)
this.synchronizer = new SelectionSynchronizer();
return this.synchronizer;
}
开发者ID:snakerflow,项目名称:snaker-designer,代码行数:6,代码来源:SnakerFlowDesignerEditor.java
示例7: setSelectionSynchronizer
import org.eclipse.gef.ui.parts.SelectionSynchronizer; //导入依赖的package包/类
public void setSelectionSynchronizer(SelectionSynchronizer selectionSynchronizer) {
this.selectionSynchronizer = selectionSynchronizer;
}
开发者ID:GreenDelta,项目名称:olca-app,代码行数:4,代码来源:OutlinePage.java
示例8: GraphicsEditorOutlinePage
import org.eclipse.gef.ui.parts.SelectionSynchronizer; //导入依赖的package包/类
/**
* Creates a new GraphicsEditorOutlinePage. It is important, that this
* outline page uses the same handlers (ActionRegistry, KeyHandler,
* ZoomManagerAdapter, ...) as the main editor, so that the behaviour is
* synchronized between them.
*
* @param viewer
* The viewer (typically a tree-viewer) for the hierarchical
* outline.
* @param graphicalViewer
* The GraphicalViewer for the Thumbnail.
* @param actionRegistry
* The ActionRegistry to find/register Actions.
* @param editDomain
* The EditDomain to use for Commands.
* @param keyHandler
* The KeyHandler to use.
* @param zoomManagerAdapter
* The ZoomManagerAdapter to use for the Thumbnail-Display.
* @param selectionSynchronizer
* The selection-synchronizer for the main-editor and this
* outline page.
* @param configurationProviderHolder
* the configuration provider holder
*/
public GraphicsEditorOutlinePage(EditPartViewer viewer, GraphicalViewer graphicalViewer, ActionRegistry actionRegistry,
EditDomain editDomain, KeyHandler keyHandler, Object zoomManagerAdapter, SelectionSynchronizer selectionSynchronizer,
DiagramEditor diagramEditor) {
super(viewer);
_graphicalViewer = graphicalViewer;
_actionRegistry = actionRegistry;
_editDomain = editDomain;
_keyHandler = keyHandler;
_zoomManagerAdapter = zoomManagerAdapter;
_selectionSynchronizer = selectionSynchronizer;
_diagramEditor = diagramEditor;
}
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:38,代码来源:GraphicsEditorOutlinePage.java
示例9: getSelectionSynchronizer
import org.eclipse.gef.ui.parts.SelectionSynchronizer; //导入依赖的package包/类
/**
* Returns the selection syncronizer object. The synchronizer can be used to sync the selection of 2 or more EditPartViewers.
*
* @return the syncrhonizer
*/
protected SelectionSynchronizer getSelectionSynchronizer() {
return parent.getSelectionSynchronizer();
}
开发者ID:McGill-DP-Group,项目名称:seg.jUCMNav,代码行数:9,代码来源:UrnEditor.java
示例10: getSelectionSynchronizer
import org.eclipse.gef.ui.parts.SelectionSynchronizer; //导入依赖的package包/类
public SelectionSynchronizer getSelectionSynchronizer();
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:2,代码来源:IGraphicalEditor.java
注:本文中的org.eclipse.gef.ui.parts.SelectionSynchronizer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论