Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Property Validation and the Shapes Diagram
Property Validation and the Shapes Diagram [message #211616] Tue, 14 March 2006 10:53
Martin Holmes is currently offline Martin HolmesFriend
Messages: 79
Registered: July 2009
Member
Hello,
I have been experimenting with the Shapes example program and
decided to give the a shape a name property. I would like the name property
to be unique.

I would normally interrogate the collection of shapes do determine if the
name is unique, but in the shapes example I am not exactly sure where to do
this.

I don't really want to give a Shape a reference to the collection it belongs
to.

I was wondering if there is a GEF way of performing this type of validation?

thanks


Martin
Previous Topic:Access the Palette view by keyboard
Next Topic:Connecting connections in the Shape example
Goto Forum:
  


Current Time: Wed Jan 22 16:04:51 GMT 2025

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

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

Back to the top