Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2007 Anyware Technologies All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: Anyware Technologies - initial API and implementation $Id: EAttributeItemSemanticEditPolicy.java,v 1.4 2009/02/02 09:28:07 jlescot Exp $ /
package org.eclipse.emf.ecoretools.diagram.edit.policies;
import  org.eclipse.gmf.runtime.emf.type.core.commands.DestroyElementCommand;
import  org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;

Generated:

Generated:
	}

Generated:
	protected Command getDestroyElementCommand(DestroyElementRequest req) {
		cc.add(getGEFWrapper(new DestroyElementCommand(req)));
		return cc.unwrap();
	}
	public boolean understandsRequest(Request request) {
		// Bug 238818 : Compartment must not be the target of connection
			return false;
		}
		return super.understandsRequest(request);
	}
New to GrepCode? Check out our FAQ X