Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tim Jones
    @tgjones
    It looks great, thanks @InsaneKitty :) I hope to get some time to review it properly in the next few days.
    InsaneKitty
    @InsaneKitty
    Is there a way to use MenuDefinitions to create ContextMenus? Can't seem to find any example for this in the demo applications.
    Michael W Powell
    @mwpowellhtx
    @InsaneKitty If I had a nickel for every time that question has been asked in recent Gemini history. If it could rank higher than first on the FAQ, I think it would... :)
    InsaneKitty
    @InsaneKitty
    |throws a nickel @mwpowellhtx | There is a FAQ for this?! o.O Can't find that either :worried:
    Michael W Powell
    @mwpowellhtx
    @InsaneKitty partly meant in jest, but Mr. Jones has been clear on several occasions, this is a hobby for him, and his time is short. Unfortunately, so, too, is mine; that's not his fault, or mine, but I am looking for an OSS "solution" to this sort of problem so that I can focus on business at hand with fewer distractions.
    Google search told me that; make sure you are running the latest (stable) .NET framework patches, that your VS environment is up to date and updated, etc, etc.
    the back story there, from my perspective, is that I, too, was interested in a context menu, but this hasn't been received well by Mr. Jones. I've since abandoned WPF for this particular aspect and dove head first into ASP.NET MVC, which, while a bit awkward, so far so good, for me.
    Gemini has a lot of promise, I think, with the right kind of commitment from a set of committed contributors, IMO; it just has a handful of concerns that need addressing to break through, I believe.
    anyway, that's my two cents, fwiw
    Aliaksei Luferau
    @AlexLuf

    Hello everybody.
    I want to make a program on the basis of an Gemini.Demo FilterDesigner module example. Maybe there are people making similar. An FilterDesigner module is working with the data type BitmapSource. But I see an empty enum in ConnectorViewModel.cs

     public enum ConnectorDataType
     {
    
     }

    thus the author intended to do that you can specify the type of output and input. I'm not very experienced programmer and don't want to reinvent the wheel. Please suggest how to most efficiently put into an example of support for different types of inputs and outputs? Thx.

    Aliaksei Luferau
    @AlexLuf
    Hi again:) I want to change the source code of the project Gemini (specifically toolbox module image). How better to do it? I downloaded the source code for Project Gemini, it added to the solution, adding a reference to it from your main project. However, the launch takes place ReflektionTipeLoadEhseption. Other projects I added with source code (not through NuGet manager) and everything works well.
    Hi again:) I want to change the source code of the Gemini project (specifically toolbox module view). How better to do it? I downloaded the source code for Gemini project, and add it to the solution, add a reference to it in main project. However, the launch takes place ReflectionTypeLoadException in AppBootstrapper.cs https://drive.google.com/file/d/0ByElK_VetntoU2xxc1ZWT0VINzg/view?usp=sharing. Other projects that i add with source code (GraphEditor, Inspector and Output) (not through NuGet manager) works well https://drive.google.com/file/d/0ByElK_VetntoT3RLYjBBZHUtSzA/view?usp=sharing
    Tim Jones
    @tgjones
    In that exception window, click View Detail and then look at the InnerException. That will tell you what the actual error is.
    Igor Quirino
    @iquirino
    Hello Tim
    I dont know how to add a custom handler to Open Menu
    Can anyone help me?
    Igor Quirino
    @iquirino
    i dont know how to overwrite...
    Aliaksei Luferau
    @AlexLuf
    @iquirino Do you use PersistedDocument base class? Its easist way to implement document that needs to be loaded from, and saved to, a file. Also you can use custom commands. All posibilities described here https://github.com/tgjones/gemini
    Igor Quirino
    @iquirino
    I want to "unregister" default MainMenu File>Open button and register my own. Any way to do this?
    MainMenu File>Open: Open a Select File Modal, but i want to implement my own Modal.
    hacklex
    @hacklex
    Hi guys! A little question if you don't mind: how do I put custom content to Tools/Options window? Any examples or checklists/tutorials/explainations?
    hacklex
    @hacklex
    nvm, it seems that I used the wrong [Export].
    hacklex
    @hacklex
    But then, another question arises: how do I replace/hide the default environment/general settings page?
    hacklex
    @hacklex
    nvm, added an override to AppBootstrapper::LocateView
    Wei "oldrev" Li
    @oldrev
    Hello people! I have a simple stupid question: Is there a way to translate the built-in menu text in my custom module? I do not want to change Gemini's source code.
    GankistGanker
    @GankistGanker
    Hello, is there a guide on how to learn how to use this? I know wpf, but this seems more complex than I'm used to.
    Tim Jones
    @tgjones
    Have you seen the readme? There’s a getting started section, as well as docs on each available module: https://github.com/tgjones/gemini/blob/master/README.md
    teleavtomatika
    @teleavtomatika
    Hi to all. Is there a way to programmatically control when shell will be loaded and shown. Ex: i want to authorize user before starting a Shell?
    Anders Dahnielson
    @dahnielson
    Is there a way to disable commands? In my case I have several menu items that let you connect the application to service, but the application can only be connected to one at a time. So I want do disable the other connect items/commands until the disconnect item/command is issued.
    Tim Jones
    @tgjones
    Yes, in your command handler class, in the Update override, you can set command.Enabled.
    Anders Dahnielson
    @dahnielson
    Thanks! I just saw that. Must have been blind before.
    Axel Gembe
    @EchterAgo
    @tgjones is it ok to use C# 7 features? which is the maximum version of C# language features we can use?
    i am almost finished with a very nice speedup of the undo/redo system, done properly now
    Tim Jones
    @tgjones
    Yes, it’s fine to use the latest (production) VS2017 and C# versions. As long as the .NET requirement remains unchanged, I think it’s reasonable to expect people hacking on Gemini to have an up-to-date VS2017.
    Sounds great.
    Axel Gembe
    @EchterAgo
    ah, great. i'll use those then.
    what do you think about giving the source code a reformat? there is a lot of inconsistent spacing and whatnot. i've created an updated .editorconfig that should be pretty helpful. vs2017 can not get the code formatting settings from .editorconfig
    Axel Gembe
    @EchterAgo
    just posted the .editorconfig update pull request
    Tim Jones
    @tgjones
    I’m not a big fan of reformat PRs, but if you really want to, go ahead.
    Axel Gembe
    @EchterAgo
    I kind of agree with you. It disrupts people when suddenly a lot changed when they rebase their own work. But I also like clean pull requests, which is hard when the project has mixed formatting. I think at some point it would be good to have this automated, but
    KAccidentally submitted)
    (
    Sorry, I'm on my phone right now
    If we reformat now we can avoid some unnecessary work in the future. It is not an easy decision. I personally would prefer style to be enforced on merge. I'll look into what it would take to do this.
    Axel Gembe
    @EchterAgo
    @tgjones you prefer system usings to be put first, right?
    i found dotnet_sort_system_directives_first that can do that
    Tim Jones
    @tgjones
    Yes, I do.
    drusteeby
    @drusteeby
    @tgjones Could you help me understand the design decision to separate Commands from their Command Handlers?