Java Code Examples for org.eclipse.ui.IEditorSite#setSelectionProvider()
The following examples show how to use
org.eclipse.ui.IEditorSite#setSelectionProvider() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RecipeEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 2
Source File: BeansEditor.java From hybris-commerce-eclipse-plugin with Apache License 2.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init(IEditorSite site, IEditorInput editorInput) { setSite(site); setInputWithNotify(editorInput); setPartName(editorInput.getName()); site.setSelectionProvider(this); site.getPage().addPartListener(partListener); ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE); }
Example 3
Source File: GenconfEditor.java From M2Doc with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void init(IEditorSite site, IEditorInput editorInput) { setSite(site); setInputWithNotify(editorInput); setPartName(editorInput.getName()); site.setSelectionProvider(this); site.getPage().addPartListener(partListener); ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE); }
Example 4
Source File: CrossflowEditor.java From scava with Eclipse Public License 2.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init(IEditorSite site, IEditorInput editorInput) { setSite(site); setInputWithNotify(editorInput); setPartName(editorInput.getName()); site.setSelectionProvider(this); site.getPage().addPartListener(partListener); ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE); }
Example 5
Source File: ConfigurationEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 6
Source File: ItemEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 7
Source File: ComponentEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 8
Source File: GlobalizeEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 9
Source File: SecurityEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 10
Source File: InfrastructureEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 11
Source File: EipEditor.java From eip-designer with Apache License 2.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init(IEditorSite site, IEditorInput editorInput) { setSite(site); setInputWithNotify(editorInput); setPartName(editorInput.getName()); site.setSelectionProvider(this); site.getPage().addPartListener(partListener); ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE); }
Example 12
Source File: MemoryEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 13
Source File: WorldEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 14
Source File: OsgiEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 15
Source File: ProfileEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 16
Source File: SetupEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 17
Source File: DeploymentEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init ( IEditorSite site, IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }
Example 18
Source File: CoreEditor.java From ifml-editor with MIT License | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init(IEditorSite site, IEditorInput editorInput) { setSite(site); setInputWithNotify(editorInput); setPartName(editorInput.getName()); site.setSelectionProvider(this); site.getPage().addPartListener(partListener); ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE); }
Example 19
Source File: ExtensionsEditor.java From ifml-editor with MIT License | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void init(IEditorSite site, IEditorInput editorInput) { setSite(site); setInputWithNotify(editorInput); setPartName(editorInput.getName()); site.setSelectionProvider(this); site.getPage().addPartListener(partListener); ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE); }
Example 20
Source File: ChartEditor.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * This is called during startup. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void init ( final IEditorSite site, final IEditorInput editorInput ) { setSite ( site ); setInputWithNotify ( editorInput ); setPartName ( editorInput.getName () ); site.setSelectionProvider ( this ); site.getPage ().addPartListener ( this.partListener ); ResourcesPlugin.getWorkspace ().addResourceChangeListener ( this.resourceChangeListener, IResourceChangeEvent.POST_CHANGE ); }