Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » String editor
String editor [message #668081] Tue, 03 May 2011 16:34 Go to next message
George  is currently offline George
Messages: 34
Registered: March 2011
Member
this is a NamedFrame.wbp-component.xml:(componet in palette)

<?xml version="1.0" encoding="UTF-8"?>
<component xmlns="http://www.eclipse.org/wb/WBPComponent">
<description>A Frame that has a 'name' associated with it. This allows the frame to be the target of a
FormPanel.</description>
<!-- CREATION -->
<creation>
<source><![CDATA[new com.google.gwt.user.client.ui.NamedFrame("New frame")]]></source>
<x-attribute name="name" value="new frame"/>
</creation>
</component>

In the property tab of this compoenent we have a property named "url" and it is a string.When editing this property an string editor it open with value "javascript".
How it initialize this string editor knowing that no mentioned in NamedFrame.wbp-component.xml?

Thinks for your help
Re: String editor [message #668107 is a reply to message #668081] Tue, 03 May 2011 18:41 Go to previous messageGo to next message
Konstantin Scheglov is currently offline Konstantin Scheglov
Messages: 554
Registered: July 2009
Senior Member
Widget Frame has method getUrl(), which is used to get current value of property.

Konstantin Scheglov,
Google, Inc.
Re: String editor [message #668156 is a reply to message #668107] Wed, 04 May 2011 08:19 Go to previous message
George  is currently offline George
Messages: 34
Registered: March 2011
Member
Now it's clear.think you very much
Previous Topic:Property editor
Next Topic:Bundle ClassLoader Question
Goto Forum:
  


Current Time: Tue Sep 23 12:23:10 GMT 2014

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

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