Questions tagged [auto-generate]

The automation of the creation of classes, files, documentation, or anything else for which manual creation is costly.

See also

654 questions
0
votes
1 answer

auto generate id to textbox and datagridview

I have a problem with my code; when I run my program it produces the following error: "Input string was not in a correct format". Here is my code: public String generateID() { String newID = ""; String lastID…
0
votes
3 answers

Why I sould not develop an opensource runtime UI Autogeneration from domain objects?

I'm using for my projects a rather complete UI auto-generation tool from database entities for windows forms and asp.net I wrote. Now I've built a working prototype UI auto-generation tool from domain objects. Right now it is in early stage of…
Marco Bettiolo
  • 5,071
  • 6
  • 30
  • 35
0
votes
1 answer

How to config where Syntastic is going to generate the .class files?

I am writing some code to my phd project and I am using VIM as my code editor. As I am coding in Java, I chose Syntastic to check and compile my code. So far so good. My issue comes when I try to create a directory with all my .classes. I want to do…
Daniel Alencar
  • 173
  • 2
  • 5
0
votes
1 answer

Primary key generate from a table for multiple table

I have a settings table 'SettingTab' and a Number column 'nSlNo (int)' to generate primary key of two tables 'Tab1' and 'Tab2'. How to implement this without any number conflict when access setting table at same time by two tables.
rgb
  • 143
  • 3
  • 15
0
votes
1 answer

disable automatic changes in designer.cs

I have created a new button class within my project: using System; using System.Windows.Forms; namespace CEditor { public class CustomButton : Button { public CustomButton() { …
betaFlux
  • 183
  • 1
  • 3
  • 12
0
votes
1 answer

Is Doctrine able to detect n-m relations in a db using generateModelsFromDb?

When using generateModelsFromDb to generate the models Doctrine makes one to many relations between the relation table and the base tables instead of generating a nm-relation between the base tables themselves. Is there any way to let…
murze
  • 4,015
  • 8
  • 43
  • 70
0
votes
1 answer

Yii: default generation of tasks after the creation of a new project

I have projects and tasks in my application, and I want (as a simple example) that after I create a project, two tasks will be generated by default and assigned to this project. The tasks are at the beginning the same for all projects. Then it is…
Leon
  • 255
  • 1
  • 4
  • 11
0
votes
0 answers

auto-generated a domain class & controller according to a drag & drop interface

I want to create a dynamic web application where the user has the opportunity to prepare its interfaces. This is equivalent to OpenERP but specific to a single domain. I searched if grails allows me to do that. I have tried to make calls to grails…
nayomi
  • 137
  • 1
  • 5
  • 20
0
votes
1 answer

Android auto generated stuff in eclipse

Im currently working on Android SDK. I have some applications that I need to move from Windows to Ubuntu. Will I be able to move the projectfiles that I have created? Will the v3,v4,v7 etc that are generated be re-generated when run in Eclipse on…
MRK187
  • 1,545
  • 2
  • 13
  • 20
0
votes
1 answer

iOS Preserve custom methods in classes after recreating from core data

I am looking for someway how to preserve methods which I add to my classes which are generated from Core Data. It should be mainly init methods but It could be other methods too. When I was looking best approach for this I found this question but…
Libor Zapletal
  • 13,752
  • 20
  • 95
  • 182
0
votes
1 answer

Eclipse Android auto-generating action handlers

I have question about using wysiwyg gui editor in android SDK. I have simple activity and one control (e.g. radio). I want to use non-default names for handlers, so I have to set parameter in every control like android:onClick="klocek" in xml or…
cybek
  • 1
0
votes
1 answer

Generate arrays using dynamically generated forms

Basically, I'm using JavaScript to dynamically generate a form that allows from multiple entries within a single submission. Here's the code I'm using for that: function addEvent() { var ni = document.getElementById('myDiv'); var numi =…
0
votes
1 answer

Create auto generated methods in your class in eclipse

I am writing some classes in Eclipse in Java, and I would like to know how to generate auto generate code. For example, if I have abstract class and I expect to be use as extends class I would like to force override some classes. I see that same…
Marko Zadravec
  • 8,298
  • 10
  • 55
  • 97
0
votes
3 answers

Auto Generate Java Skeleteon Class from XML

I have an xml file that looks a little like this : I was wondering how I could then generate a…
0
votes
2 answers

EF6: How to generate a unique number automatically based on entity Id

Consider an entity like this: public class Document { public int Id { get; set; } public long code { get; set; } // Rest of Props } What I need is to generate a unique long code, and I prefer to generate it based on Id. One…