Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] script log debug view

Show View can be configured with a PerspectiveExtention:

<perspectiveExtension
            targetID="com.servoy.eclipse.ui.DesignPerspective">
         <showInPart
               id="com.servoy.eclipse.ui.views.SolutionExplorerView">
         </showInPart>
         <viewShortcut
               id="com.servoy.eclipse.ui.views.SolutionExplorerView">
         </viewShortcut>
      </perspectiveExtension>

one of those take care of that ..

You need to reset the perspective i think else you wont notice it.
you can also do it in code:

protected void setContentsOfShowViewMenu(IPageLayout layout) {
        layout.addShowViewShortcut(SolutionExplorerView.PART_ID);
        layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);
        layout.addShowViewShortcut(IConsoleConstants.ID_CONSOLE_VIEW);
    }

Now i am curious what does that new script log debug view do?

johan


On Thu, Jun 26, 2008 at 7:19 AM, Jae Gangemi <jgangemi@xxxxxxxxx> wrote:

  the new log viewer is great! major props to whomever did that work! now someone needs to make a cool icon for it, the default does it no justice.

  i added an entry for the text viewer font in the 'Colors and Fonts' theme/preference category so the user can control the setting. however, i can't figure out how to listen for the property change event that should be fired if the user changes the font setting. i tried adding a listener to both add listener methods exposed in the super class, but the methods never fired. any ideas?

  i also moved added a category to the view definition so it appears under 'Dynamic Languages' since i always look there first (and then realize it's in Other). it'd be really great it could appear in the 'Show View' drop down when in the debug perspective, but i'm not sure how to do that either. i tried adding an org.eclipse.debug.ui.contextViewBindings extension, but that didn't work and it doesn't look like the perspective factory does it either at perspective creation time.

--
-jae
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev



Back to the top