Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » About drag and drop on XML design editor
About drag and drop on XML design editor [message #174256] Thu, 13 July 2006 08:25 Go to next message
Eclipse User
Originally posted by: sielst.hotmail.com

Hello,
I have a question about the XML editor (in particular the tab design) coming
with WTP.
Let us assume that we are editing an XML associated to a given schema. The
design editor allows to create tags according to the schema definition.
However it is possible to violate schema properties using drag and drop of
tags and so to produce an invalid XML. I was wondering if there is the
possibility to disable drag and drop action when this is contrast with the
schema definition; any suggestions?

Thanks in advance,

Stefano.
Re: About drag and drop on XML design editor [message #177804 is a reply to message #174256] Thu, 24 August 2006 18:20 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2310
Registered: July 2009
Senior Member
Stefano wrote:
> I have a question about the XML editor (in particular the tab design) coming
> with WTP.
> Let us assume that we are editing an XML associated to a given schema. The
> design editor allows to create tags according to the schema definition.
> However it is possible to violate schema properties using drag and drop of
> tags and so to produce an invalid XML. I was wondering if there is the
> possibility to disable drag and drop action when this is contrast with the
> schema definition; any suggestions?

Currently there's no provision for doing this. Most drop positions
would then be disabled and that could be confusing as there's no
method to explain *why* they'd disabled at those positions to the user.

--
- Nitin


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:1.5.1 and eclipse 3.3 M1
Next Topic:Problem with CVS and Webtools 1.5
Goto Forum:
  


Current Time: Fri Oct 24 07:09:14 GMT 2014

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

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