Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » ChangeChildPropertyValueRequest
ChangeChildPropertyValueRequest [message #196182] Wed, 09 July 2008 08:10
Eclipse UserFriend
Originally posted by:

Hello, do somebody know how to use the ChangeChildPropertyValueRequest ?
It tried the following but the command I get is nullÂ…

public static void setCompartmentColor(GraphicalEditPart GEP, Color color,
String propertyID){

ChangeChildPropertyValueRequest req = new
null, propertyID,
final Command cmd = GEP.getParent().getCommand(req);
AbstractEMFOperation operation = new
AbstractEMFOperation(((GraphicalEditPart)GEP.getParent()).ge tEditingDomain(),
StringStatics.BLANK, null){
protected IStatus doExecute(IProgressMonitor
monitor, IAdaptable info) throws ExecutionException {

return null;

try {
operation.execute(new NullProgressMonitor(), null);
} catch (ExecutionException e) {


Thanks a lot !!!
Previous Topic:GMF properties sheet
Next Topic:filter edges / nodes
Goto Forum:

Current Time: Thu May 06 12:12:52 GMT 2021

Powered by FUDForum. Page generated in 0.01614 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top