[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [Dltk-dev] Empty outline - how to fix?
|
Jae & Edgar, thanks much.
The problem was that *.FieldInfo, etc were never being invoked -- my
implementation of SourceElementRequestVisitor was actually implementing
ASTVisitor directly. Fixed that and now I have an Outline
tree.
Best,
Gerald
At 11:57 AM 11/5/2007, you wrote:
you should make sure you
have an implementation of this class: SourceElementRequestVisitor (just a
constructor is all you need to start), an implementation of
ISourceElementParser, which is defined in the plugin.xml, and an actual
source parser implementation (implements IExecutableExtension,
ISourceParser).
you shouldn't need to interact with any of the the classes from
the compiler package, or the classes off the ISourceElementRequestor to
get this working.
On 11/5/07, Edgar Espina
<espina.edgar@xxxxxxxxx
> wrote:
- Hi Gerarld, you must be see SourceElementRequestVisitor,
ISourceElementRequestor.MethodInfo, ISourceElementRequestor.FieldInfo and
ISourceElementRequestor.TypeInfo (org.eclipse.dltk.compiler.*). This
visitor populate the outlinepage in base to the ModuleDeclaration
object's information.
- 2007/11/5, Jae Gangemi
<jgangemi@xxxxxxxxx>:
- nope - that should be all that is required for those two
pieces.
- are you sure your ModuleDeclaration object is being properly
populated with the correct information?
- On 11/5/07, Gerald Rosenberg
<gerald@xxxxxxxxxx> wrote:
- Yes, it is a rather basic sub-class, that merely implements
ScriptOutlinePage. Is there something more required?
- At 10:24 AM 11/5/2007, you wrote:
- do you have a sub-class of the ScriptOutlinePage that is
returned from your editor implementation via the doCreateOutlinePage()
method?
-
- On 11/5/07, Gerald Rosenberg
<gerald@xxxxxxxxxx> wrote:
- My ui editor and core parser appear to be running correctly.
The
- problem is that my Outline view is not being populated -- the view
- itself is properly constructed, but the contained outline tree is
- entirely blank, no root node, nothing.
- What is required to connect the parser constructed ModuleDeclaration
- hierarchy to the Outline view? Can you list the basic steps for
- creating/enabling an Outline view that presents a
ModuleDeclaration-based tree.
- Thanks,
- Gerald
- ----
- Gerald B. Rosenberg
- Certiv Analytics
- www.certiv.net
- _______________________________________________
- dltk-dev mailing list
- dltk-dev@xxxxxxxxxxx
-
https://dev.eclipse.org/mailman/listinfo/dltk-dev
- --
- -jae
- _______________________________________________
- dltk-dev mailing list
- dltk-dev@xxxxxxxxxxx
-
https://dev.eclipse.org/mailman/listinfo/dltk-dev
- _______________________________________________
- dltk-dev mailing list
- dltk-dev@xxxxxxxxxxx
-
https://dev.eclipse.org/mailman/listinfo/dltk-dev
- --
- -jae
- _______________________________________________
- dltk-dev mailing list
- dltk-dev@xxxxxxxxxxx
-
https://dev.eclipse.org/mailman/listinfo/dltk-dev
- _______________________________________________
- dltk-dev mailing list
- dltk-dev@xxxxxxxxxxx
-
https://dev.eclipse.org/mailman/listinfo/dltk-dev
--
-jae
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev