Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355042 - [Navigator & Editor Sockets] Support create custom actions API in ResourceMgmtOverrideActionProvider
Summary: [Navigator & Editor Sockets] Support create custom actions API in ResourceMgm...
Status: CLOSED FIXED
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 0.7.0   Edit
Assignee: Stephan Eberle CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 05:03 EDT by Phong Le CLA
Modified: 2021-07-14 02:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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