de.cau.cs.kieler.ksbase.ui.handler
Class BalloonPopupEditPolicyProvider

java.lang.Object
  extended by org.eclipse.gmf.runtime.common.core.service.AbstractProvider
      extended by de.cau.cs.kieler.ksbase.ui.handler.BalloonPopupEditPolicyProvider
All Implemented Interfaces:
IProvider, org.eclipse.gmf.runtime.diagram.ui.services.editpolicy.IEditPolicyProvider

public class BalloonPopupEditPolicyProvider
extends AbstractProvider
implements org.eclipse.gmf.runtime.diagram.ui.services.editpolicy.IEditPolicyProvider

Provides an edit policy to create popup balloons.

Rating proposed yellow
(2009-02-23)

Constructor Summary
BalloonPopupEditPolicyProvider()
           
 
Method Summary
 void createEditPolicies(EditPart editPart)
          Creates the edit policies.
 boolean provides(IOperation operation)
          Checks if this edit policy provides an operation.
 
Methods inherited from class org.eclipse.gmf.runtime.common.core.service.AbstractProvider
addProviderChangeListener, fireProviderChange, removeProviderChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.gmf.runtime.common.core.service.IProvider
addProviderChangeListener, removeProviderChangeListener
 

Constructor Detail

BalloonPopupEditPolicyProvider

public BalloonPopupEditPolicyProvider()
Method Detail

createEditPolicies

public void createEditPolicies(EditPart editPart)
Creates the edit policies.

Specified by:
createEditPolicies in interface org.eclipse.gmf.runtime.diagram.ui.services.editpolicy.IEditPolicyProvider
Parameters:
editPart - The editPart to register this policy with.

provides

public boolean provides(IOperation operation)
Checks if this edit policy provides an operation.

Specified by:
provides in interface IProvider
Parameters:
operation - The operation to check.
Returns:
True if this edit policy provides the given operation