Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355042

Summary: [Navigator & Editor Sockets] Support create custom actions API in ResourceMgmtOverrideActionProvider
Product: [Automotive] Sphinx Reporter: Phong Le <phonglt>
Component: CoreAssignee: Stephan Eberle <stephaneberle9>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: stephaneberle9
Version: 0.7.0   
Target Milestone: 0.7.0   
Hardware: All   
OS: All   
Whiteboard:

Description Phong Le CLA 2011-08-18 05:03:37 EDT
Build Identifier: 

I created an class ResourceRefreshAction that extends from org.eclipse.ui.actions.RefreshAction. In ResourceRefreshAction, refreshResource()is overridden to add more commands to force reloaded loaded files or more...

Now I would like to create another class extends org.eclipse.sphinx.emf.explorer.internal.actions.providers.ResourceMgmtOverrideActionProvider to use ResourceRefreshAction. Currently, the refreshAction fields is private so that cannot extends to initialize refreshAction with ResourceRefreshAction.

Expected: ResourceMgmtOverrideActionProvider should support protected methods (e.g: 'createCustomXXXAction') so that developer can override with their custom
class.
protected XXXAction createCustomXXXAction() {
	return new CustomXXX();
}

Other action fields (buildAction, openProjectAction, closeProjectAction,...) are expected also.

Reproducible: Always
Comment 1 Stephan Eberle CLA 2011-08-25 02:00:18 EDT
Fixed as suggested in description.
Comment 2 Stephan Eberle CLA 2011-08-25 02:04:22 EDT
Forgot to resolve as fixed.
Comment 3 Balazs Grill CLA 2021-07-14 02:16:22 EDT
Mass-closing Resolved tickets