Class CopyPasteProviderPolicy
java.lang.Object
de.uka.ipd.sdq.pcm.gmf.composite.custom.policies.CopyPasteProviderPolicy
- All Implemented Interfaces:
org.eclipse.gmf.runtime.common.core.service.IProviderPolicy
public class CopyPasteProviderPolicy
extends Object
implements org.eclipse.gmf.runtime.common.core.service.IProviderPolicy
Only enable "Edit -> Cut/Copy/Paste" menu items for items other than roles. This extension does
only work if org.eclipse.gmf.runtime.common.ui.services.action.globalActionHandlerProviders
extension generated into diagram plugin is removed. It can't be overwritten because it is of
lowest priority, therefore no extension can be executed after it.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
provides
(org.eclipse.gmf.runtime.common.core.service.IOperation operation) (non-Javadoc).
-
Constructor Details
-
CopyPasteProviderPolicy
public CopyPasteProviderPolicy()
-
-
Method Details
-
provides
public boolean provides(org.eclipse.gmf.runtime.common.core.service.IOperation operation) (non-Javadoc).- Specified by:
provides
in interfaceorg.eclipse.gmf.runtime.common.core.service.IProviderPolicy
- Parameters:
operation
- the operation- Returns:
- true, if successful
- See Also:
-
IProviderPolicy.provides(org.eclipse.gmf.runtime.common.core.service.IOperation)
-