more documentation/ressources for writing an editor [message #4311] |
Tue, 28 May 2002 06:34  |
Eclipse User |
|
|
|
Originally posted by: g.wagenknecht.intershop.de
Hi!
I need more information/documentation for writing an editor extention. Any
one knows where I can find more? The Plugin Developer Guide of Eclipse Help
System is not so useful because it gives just a short overview with
TextEditor but I need to start from EditorPart (for GEF).
I also miss a full API reference (ex. EditorPart). Do I need to build on
myself or can I download it somewhere?
Cu, Gunnar
|
|
|
|
|
|
|
|
Re: more documentation/ressources for writing an editor [message #5004 is a reply to message #4799] |
Tue, 28 May 2002 21:23   |
Eclipse User |
|
|
|
Originally posted by: bob.objfac.com
The documentation, like the software, is a marvel of brevity. In the SWT
class, it often consists of a terse sentence that gives little more
information than the constant it describes. For instance,
RADIO - Wouldn't hurt to mention that radio button peers in a Composite form
a "radio group". A FAQ.
TOOL - Whatizzit?
PRIMARY_MODAL, APPLICATION_MODAL, SYSTEM_MODAL - What's the diff?
NO_BACKGROUND - Might as well add, "This doesn't do what you want." ;-}
DBCS, ALPHA, NATIVE, PHONETIC - At least a link, please.
Ok, I was kidding about NO_BACKGROUND. But a comment that it doesn't make a
canvas transparent wrt other widgets would save lots of people time.
Bob
"Peter Burka" <peter_burka@oti.com> wrote in message
news:ad0ov6$8c7$1@rogue.oti.com...
> Alex,
>
> All of the SWT style bits should be documented in the JavaDoc for each
> Widget.
>
> Have you encountered widgets which didn't include this information?
>
> /peter
>
> --
> Peter Burka
> Object Technology International, Inc.
>
> "Alex Selkov" <as@empproject.com> wrote in message
> news:ad0og2$86e$1@rogue.oti.com...
> > May I suggest to include in current docs a few additional words about
> method
> > paramters: I found myself frequently lost deeply in SWT internals trying
> to
> > understand style bits or something like this. I need to dig in sources
> what
> > does it mean "int style", then that's not always clear which SWT.XXXX
> > constant I must use for particular case - short explanations to any int
or
> > Object parameters can be very helpful. Worst of all that for SWT
constants
> > (why not to split this huge pile into different classes?) I frequetntly
> ends
> > somewere in MSDN... :(
> >
> > Another thing that puzzled me is draw2d.resource - can you provide a
short
> > snippet to demonstrate SharedCursor usage? I have no problem with direct
> > usage of swt cursors.
> >
> > as
> >
> > P.S. GEF download link now points to CDT page. Is there any live link to
> GEF
> > distribution?
> >
> > "Randy Hudson" <none@ibm.com>
|
|
|
|
Re: more documentation/ressources for writing an editor [message #5140 is a reply to message #5004] |
Tue, 28 May 2002 21:30   |
Eclipse User |
|
|
|
Originally posted by: none.ibm.com
They're trying to keep the download times small ;-)
BTW, this is the newsgroup for complaining about GEF documentation, not SWT.
Your points are valid and *EVERYONE* has been affected by the lack of
documentation at some point. I think there is an "Arrow" constant and an
"ARROW" constant, and they mean different things. But I digress...
"Bob Foster" <bob@objfac.com> wrote in message
news:ad19dd$d9h$1@rogue.oti.com...
> The documentation, like the software, is a marvel of brevity. In the SWT
> class, it often consists of a terse sentence that gives little more
> information than the constant it describes. For instance,
>
> RADIO - Wouldn't hurt to mention that radio button peers in a Composite
form
> a "radio group". A FAQ.
> TOOL - Whatizzit?
> PRIMARY_MODAL, APPLICATION_MODAL, SYSTEM_MODAL - What's the diff?
> NO_BACKGROUND - Might as well add, "This doesn't do what you want." ;-}
> DBCS, ALPHA, NATIVE, PHONETIC - At least a link, please.
>
> Ok, I was kidding about NO_BACKGROUND. But a comment that it doesn't make
a
> canvas transparent wrt other widgets would save lots of people time.
>
> Bob
>
> "Peter Burka" <peter_burka@oti.com> wrote in message
> news:ad0ov6$8c7$1@rogue.oti.com...
> > Alex,
> >
> > All of the SWT style bits should be documented in the JavaDoc for each
> > Widget.
> >
> > Have you encountered widgets which didn't include this information?
> >
> > /peter
> >
> > --
> > Peter Burka
> > Object Technology International, Inc.
> >
> > "Alex Selkov" <as@empproject.com> wrote in message
> > news:ad0og2$86e$1@rogue.oti.com...
> > > May I suggest to include in current docs a few additional words about
> > method
> > > paramters: I found myself frequently lost deeply in SWT internals
trying
> > to
> > > understand style bits or something like this. I need to dig in sources
> > what
> > > does it mean "int style", then that's not always clear which SWT.XXXX
> > > constant I must use for particular case - short explanations to any
int
> or
> > > Object parameters can be very helpful. Worst of all that for SWT
> constants
> > > (why not to split this huge pile into different classes?) I
frequetntly
> > ends
> > > somewere in MSDN... :(
> > >
> > > Another thing that puzzled me is draw2d.resource - can you provide a
> short
> > > snippet to demonstrate SharedCursor usage? I have no problem with
direct
> > > usage of swt cursors.
> > >
> > > as
> > >
> > > P.S. GEF download link now points to CDT page. Is there any live link
to
> > GEF
> > > distribution?
> > >
> > > "Randy Hudson" <none@ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: more documentation/ressources for writing an editor [message #5747 is a reply to message #5665] |
Thu, 30 May 2002 04:13   |
Eclipse User |
|
|
|
Originally posted by: shane_fitzgibbon.versata.com.au
I think that there might be a problem with the doc in the draw2d and GEF
plugins. I just added the plugins to a fresh Eclipse 2.0 F1 install and the
draw2d User Guide has errors and doesn't display any thing under it's
sections and the GEF User Guide doesn't show up at all in the Help menu.
The following is what I have in my .log file
!SESSION May 30, 2002
14:26:22.892 ---------------------------------------------
java.version=1.3.1
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -feature
org.eclipse.platform -install file:E:/eclipse/f1/eclipse/
!ENTRY org.eclipse.core.resources 1 4 May 30, 2002 14:26:22.892
!MESSAGE Reference action not found: additions
!ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:44.630
!MESSAGE Document
/org.eclipse.platform.doc.isv/reference/extension-points/org _eclipse_ant_cor
e_antObjects.html cannot be read.
!ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:48.946
!MESSAGE Document /org.eclipse.platform.doc.isv/questions/index.html cannot
be read.
!ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:49.326
!MESSAGE Document
/org.eclipse.platform.doc.isv/samples/org.eclipse.update.exa mples/doc-html/u
pdate_install_ex.html cannot be read.
!ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:54.784
!MESSAGE Document /org.eclipse.jdt.doc.isv/questions/index.html cannot be
read.
!ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:57.07
!MESSAGE Document
/org.eclipse.platform.doc.isv/reference/extension-points/org _eclipse_help_co
ntributions.html cannot be read.
!ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:57.839
!MESSAGE Document
/org.eclipse.jdt.doc.isv/reference/extension-points/org_ecli pse_debug_core_l
aunchers.html cannot be read.
!SESSION May 30, 2002
14:31:53.117 ---------------------------------------------
java.version=1.3.1
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -feature
org.eclipse.platform -install file:E:/eclipse/f1/eclipse/
!ENTRY org.eclipse.core.runtime 2 1 May 30, 2002 14:31:53.117
!MESSAGE Problems encountered loading the plug-in registry.
!SUBENTRY 1 org.eclipse.core.runtime 2 1 May 30, 2002 14:31:53.117
!MESSAGE Unable to satisfy prerequisite constraint from
com.ibm.etools.gef.doc.isv to com.ibm.etools.gef.
!ENTRY org.eclipse.core.resources 1 4 May 30, 2002 14:31:59.646
!MESSAGE Reference action not found: additions
!SESSION May 30, 2002
17:47:26.83 ----------------------------------------------
java.version=1.3.1
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -feature
org.eclipse.platform -install file:E:/eclipse/f1/eclipse/
!ENTRY org.eclipse.core.resources 1 4 May 30, 2002 17:47:26.83
!MESSAGE Reference action not found: additions
|
|
|
Re: more documentation/ressources for writing an editor [message #5787 is a reply to message #5747] |
Thu, 30 May 2002 09:45   |
Eclipse User |
|
|
|
Originally posted by: none.ibm.com
The ISV Doc pre-reqs GEF. Why? Because we have Views that are only meant
for developers, not for shipping the final product. Since Eclipse has no
way of adding Views programatically, we had to declare them in the ISV DOC
plugin.xml, which we assumed only developers would have on their
installation.
The 2 "developer" Views are a CommandStack viewer and a trace console.
"Shane Fitzgibbon" <shane_fitzgibbon@versata.com.au> wrote in message
news:ad4ls4$p4v$1@rogue.oti.com...
> I think that there might be a problem with the doc in the draw2d and GEF
> plugins. I just added the plugins to a fresh Eclipse 2.0 F1 install and
the
> draw2d User Guide has errors and doesn't display any thing under it's
> sections and the GEF User Guide doesn't show up at all in the Help menu.
>
> The following is what I have in my .log file
>
> !SESSION May 30, 2002
> 14:26:22.892 ---------------------------------------------
> java.version=1.3.1
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86 -feature
> org.eclipse.platform -install file:E:/eclipse/f1/eclipse/
> !ENTRY org.eclipse.core.resources 1 4 May 30, 2002 14:26:22.892
> !MESSAGE Reference action not found: additions
> !ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:44.630
> !MESSAGE Document
>
/org.eclipse.platform.doc.isv/reference/extension-points/org _eclipse_ant_cor
> e_antObjects.html cannot be read.
> !ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:48.946
> !MESSAGE Document /org.eclipse.platform.doc.isv/questions/index.html
cannot
> be read.
> !ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:49.326
> !MESSAGE Document
>
/org.eclipse.platform.doc.isv/samples/org.eclipse.update.exa mples/doc-html/u
> pdate_install_ex.html cannot be read.
> !ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:54.784
> !MESSAGE Document /org.eclipse.jdt.doc.isv/questions/index.html cannot be
> read.
> !ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:57.07
> !MESSAGE Document
>
/org.eclipse.platform.doc.isv/reference/extension-points/org _eclipse_help_co
> ntributions.html cannot be read.
> !ENTRY org.eclipse.help 4 0 May 30, 2002 14:27:57.839
> !MESSAGE Document
>
/org.eclipse.jdt.doc.isv/reference/extension-points/org_ecli pse_debug_core_l
> aunchers.html cannot be read.
> !SESSION May 30, 2002
> 14:31:53.117 ---------------------------------------------
> java.version=1.3.1
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86 -feature
> org.eclipse.platform -install file:E:/eclipse/f1/eclipse/
> !ENTRY org.eclipse.core.runtime 2 1 May 30, 2002 14:31:53.117
> !MESSAGE Problems encountered loading the plug-in registry.
> !SUBENTRY 1 org.eclipse.core.runtime 2 1 May 30, 2002 14:31:53.117
> !MESSAGE Unable to satisfy prerequisite constraint from
> com.ibm.etools.gef.doc.isv to com.ibm.etools.gef.
> !ENTRY org.eclipse.core.resources 1 4 May 30, 2002 14:31:59.646
> !MESSAGE Reference action not found: additions
> !SESSION May 30, 2002
> 17:47:26.83 ----------------------------------------------
> java.version=1.3.1
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86 -feature
> org.eclipse.platform -install file:E:/eclipse/f1/eclipse/
> !ENTRY org.eclipse.core.resources 1 4 May 30, 2002 17:47:26.83
> !MESSAGE Reference action not found: additions
>
>
>
|
|
|
Re: more documentation/ressources for writing an editor [message #8016 is a reply to message #5445] |
Wed, 05 June 2002 17:35  |
Eclipse User |
|
|
|
Originally posted by: mike_wilson.oti.com
Maybe somebody should write .net based version of SWT... ;-)
McQ.
Alex Selkov wrote:
> It was C#. But AFAIK the most important part is gdiplus.dll, included in XP
> and shipped with .net runtime for other windowses.
>
>
> "Randy Hudson" <none@ibm.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
> news:ad1ham$fco$1@rogue.oti.com...
>
>>You did that using what language?
>>
>>I think it is unlikely that SWT will bind to anything but the win32 API.
>
> Is
>
>>it in that API?
>>
>>
>>>Will pray for higher priority :) Just downloaded .net sdk and wrote
>>
> simple
>
>>>tests with SmoothingMode.AntiAlias - look at the picture attached. All
>>
>>lines
>>
>>>and curves looks ideal, arcs - very good. And all of this supported on
>>>W98/2K/XP (other then XP must have .net runtime? anyway windowsupdate
>>
> try
>
>>to
>>
>>>push this beast to everyone) - I have W2K.
>>
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04758 seconds