Reference to class List is ambiguous

Hello,
I've started to make my first java program in which I use AWT.
When I compile the file, it gave me this error:
"reference to List is ambiguous, both class java.awt.List in java.awt and class java.util.List in java.util match"
So I use some tools from the java library: java.util ( f.e. arrays)
and I use of course the library: java.awt
Now when I try to make a list:
f.e.
List data = new List(10,false);
The program doesn't know if I want to use the method List, from AWT or UTIL
In fact, I want to use this from AWT.
How can I make that clear.
Thx

It will probably work if you add "import java.awt.List;" to your imports. If that doesn't do it, you will need to specify which List when you declare or instantiate it. For example, if you now have
List list = new List(10,false);
Then change it to
java.awt.List list = new java.awt.List(10,false);

Similar Messages

  • Column in field list is ambiguous error

    i am using jdbc in my program with a query statement that retrieve holdingsID by querying different tables. when i run the program it has an error saying
    Column HoldingsID in field list is ambiguous, what does this mean? How can i solve it?
    here is my code, included is my sql select statement please check it.
            String key=request.getParameter("key");  
              Connection conn = null;
              String[][] a=new String[10][3];          
              int r=0;
              String qstr="";
              ResultSet rs=null;          
              try{     
              Class.forName("com.mysql.jdbc.Driver").newInstance();
              conn = DriverManager.getConnection("jdbc:mysql://localhost/scitemp?user=scinetadmin&password=A1kl@taN");
              Statement stmt=conn.createStatement();
                qstr="SELECT DISTINCT HoldingsID FROM tblHoldings, tblHoldingsAuthorName," +
                         "tblHoldingsSubject, tblHoldingsPublisherName"+
                      " WHERE (tblHoldings.Title LIKE "+"'"+"%"+key+"%"+"'"+")"+" OR "+
                     "(tblHoldings.Contents LIKE "+"'"+"%"+key+"%"+"'"+")"+" OR " +
                     "(tblHoldingsAuthorName.AuthorName LIKE "+"'"+"%"+key+"%"+"'"+")"+" OR " +
                    "(tblHoldingsSubject.SubjectHeadings LIKE "+"'"+"%"+key+"%"+"'"+")"+" OR " +
                   "(tblHoldingsPublisherName.PublicationDate = "+"'"+key+"'"+")"+
                         " ORDER BY HoldingsID";                              
              rs  = stmt.executeQuery(qstr);
              while ( rs.next() && r <10) {                     
                        a[r][0]=rs.getString("HoldingsID");     
                        a[r][1]="1";
                        a[r][2]="SILMS";  
                        r++;      
              }catch(Exception e){out.println("error:"+e.getMessage());}-----
    thanks in advance for your help

    Actually, this is probably going to be a bit more efficient on large scale data. (I'm guessing, if it matters then test...)
    SELECT DISTINCT HoldingsID FROM
      SELECT HoldingsID
      FROM tblHoldings
      WHERE tblHoldings.Title LIKE '%key%'
           OR tblHoldings.Contents LIKE '%key%'
    UNION ALL
      SELECT HoldingsID
      FROM tblHoldingsAuthorName
      WHERE tblHoldingsAuthorName.AuthorName LIKE '%key%'
    UNION ALL
      SELECT HoldingsID
      FROM tblHoldingsSubject
      WHERE tblHoldingsSubject.SubjectHeadings LIKE  '%key%'
    UNION ALL
      SELECT HoldingsID
      FROM tblHoldingsPublisherName
      WHERE tblHoldingsPublisherName.PublicationDate = 'key'
    ORDER BY HoldingsIDThe diffence is when the sort(s) to create distinct rows is done. In the first version, UNION must produce only distinct values, so three sorts must be performed, one to create each UNION intermediate result. In the 2nd version, UNION ALL doesn't produce
    distinct values, we delay the sorting until the last minute and sort all candidates once, instead of one sub-set once, one sub-set twice and two sub-sets 3 times. If this is a school project, the difference probably doesn't matter.
    By the way, many databases implement the DISTINCT keyword in such a way that it creates sorted result sets, sorted by the resulting column values. As far as I know, this is not guaranteed by the SQL standard, so the additional ORDER BY clause is still needed for rigourous portability to databases that don't work that way. If that's not a concern and speed is, in many situations you can drop the ORDER BY; however for small result sets the difference is nearly invisible, and even for moderately large result sets, sorting an already sorted result set is usually an Order(n) in-memory operation. For really big results, the database will be swapping results to disk as it sorts and this sort of optimization matters then. This also applies to the use of GROUP BY.

  • How do I reference a class in a .dll library?

    How do I reference a class in a .dll library?  The following code extracts the contents of a ListView after a line is MouseDoubleClick:
        static public void GetListViewValues(object sender, List<string> liststListViewValues)
          ListViewItem lvi = sender as ListViewItem;
          ListViewTabs obj = lvi.DataContext as ListViewTabs;
          liststListViewValues.Add(obj.tabNumber);
          liststListViewValues.Add(obj.tabDetails);
        public class ListViewTabs
          public string tabNumber { get; set; }
          public string tabDetails { get; set; }
    I want to move this code (not the class) into a library .dll.  The .dll is generic ... could be called by any namespace.  It needs to know about the ListViewTabs class in this example.
    bhs67

    >>How do I reference a class in a .dll library?
    You add a reference to the .dll (https://msdn.microsoft.com/en-us/library/wkze6zky.aspx?f=255&MSPPError=-2147217396) and add a using statement for the namespace
    in which the class is defined at the top of the code file in which you want to use the class:
    using YourNameSpace;
    >>I want to move this code (not the class) into a .dll.
    The method must be put into some class. You could create a class in the class library and put the method in there:
    namespace YourNameSpace
    public class YourClass
    static public void GetListViewValues(object sender, List<string> liststListViewValues)
    ListViewItem lvi = sender as ListViewItem;
    ListViewTabs obj = lvi.DataContext as ListViewTabs;
    liststListViewValues.Add(obj.tabNumber);
    liststListViewValues.Add(obj.tabDetails);
    public class ListViewTabs
    public string tabNumber { get; set; }
    public string tabDetails { get; set; }
    >>The .dll is generic ... could be called by any namespace.
    Every class belongs to a namespace (potentially the global (or unnamed) namespace) in C#.
    >>It needs to know about the ListViewTabs class in this example.
    If the method in the .dll needs to know about the ListViewTabs class you must put the ListViewTabs class into the same .dll or create another .dll, put the ListViewTabs class there and then add a reference to this .dll from the one containing your method.
    You cannot keep the ListViewTabs class in the WPF application project from which you add a reference to the .dll that contains the method because you cannot add a reference from A to B and from B to A as this will lead to a circular dependency.
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

  • How to reference a class without using the new keyword

    I need to access some information from a class using the getter, but I don't want to use the new keyword because it will erase the information in the class. How can I reference the class without using the new keyword.
    ContactInfo c = new ContactInfo(); // problem is here because it erases the info in the class
    c.getFirstName();

    quedogf94 wrote:
    I need to access some information from a class using the getter, but I don't want to use the new keyword because it will erase the information in the class. How can I reference the class without using the new keyword.
    ContactInfo c = new ContactInfo(); // problem is here because it erases the info in the class
    c.getFirstName();No.
    Using new does not erase anything. There's nothing to erase. It's brand new. It creates a new instance, and whatever that constructor puts in there, is there. If you then change the contents of that instance, and you want to see them, you have to have maintained a reference to it somewhere, and access that instance's state through that reference.
    As already stated, you seem to be confused between class and instance, at the very least.
    Run this. Study the output carefully. Make sure you understand why you see what you do. Then, if you're still confused, try to rephrase your question in a way that makes some sense based on what you've observed.
    (And not that accessing a class (static) member through a reference, like foo1.getNumFoos() is syntactically legal, but is bad form, since it looks like you're accessing an instance (non-static) member. I do it here just for demonstration purposes.)
    public class Foo {
      private static int numFoos; // class variable
      private int x; // instance varaible
      public Foo(int x) {
        this.x = x;
        numFoos++;
      // class method
      public static int getNumFoos() {
        return numFoos;
      // instance method 
      public int getX() {
        return x;
      public static void main (String[] args) {
        System.out.println ("Foo.numFoos is " + Foo.getNumFoos ());
        System.out.println ();
        Foo foo1 = new Foo(42);
        System.out.println ("Foo.numFoos is " + Foo.getNumFoos ());
        System.out.println ("foo1.numFoos is " + foo1.getNumFoos ());
        System.out.println ("foo1.x is " + foo1.getX ());
        System.out.println ();
        Foo foo2 = new Foo(666);
        System.out.println ("Foo.numFoos is " + Foo.getNumFoos ());
        System.out.println ("foo1.numFoos is " + foo1.getNumFoos ());
        System.out.println ("foo1.x is " + foo1.getX ());
        System.out.println ("foo2.numFoos is " + foo2.getNumFoos ());
        System.out.println ("foo2.x is " + foo2.getX ());
        System.out.println ();
    }

  • Problem with Javadoc gen'in two instances of a sourcefile in the class list

    Hallo,
    I have a set of source files that I'm gen'ing with the ant task javadoc.
    sourcefiles="javadocs/PTConfigServer-root/src/com/palantir/config/util/SshUtils.java,
    javadocs/PTConfigServer-root/src/com/palantir/config/util/StafUtils.java,
    javadocs/PTCommons-root/src/com/palantir/util/Pair.java,
    javadocs/PTCommons-root/src/com/palantir/util/XMLTag.java,
    javadocs/PTCommons-root/src/com/palantir/util/MutuallyExclusiveSetLock.java,
    javadocs/PTCommons-root/src/com/palantir/exception/PalantirException.java,
    javadocs/PTCommons-root/src/com/palantir/exception/PalantirUserMessageException.java,
    javadocs/PTCommons-root/src/com/palantir/exception/VersionMismatchException.java,
    javadocs/PTCommons-root/src/com/palantir/util/Mutable.java,
    javadocs/PTCommons-root/src/com/palantir/util/MultiMapSet.java,
    javadocs/PTCommons-root/src/com/palantir/util/MultiMapOrderedSet.java,
    javadocs/PTCommons-root/src/com/palantir/util/MultiMapList.java,
    javadocs/PTCommons-root/src/com/palantir/util/MultiMapConcurrentHashSet.java,
    javadocs/PTCommons-root/src/com/palantir/util/MultiMap.java,
    javadocs/PTCommons-root/src/com/palantir/util/i18n/DefaultDateFormatterFactory.java,
    javadocs/PTCommons-root/src/com/palantir/util/i18n/DateFormatterManager.java,
    javadocs/PTCommons-root/src/com/palantir/util/i18n/DateFormatterFactory.java,
    javadocs/PTCommons-root/src/com/palantir/util/i18n/DateFormatter.java,
    javadocs/PTCommons-root/src/com/palantir/util/awt/Awt.java"
    The first two gen properly with only one of each class showing up in the class list. Then, starting with the PTCommons files, javadoc lists each class twice in the class list. In the actual generated documentation, there is only one instance of the file.
    Has anyone seen this before?
    Mary

    Im having a problem with the variables.
    Part of my original problem might be each pxi was in a different project. and i had two projects each its own IP. Using this method i did not know how use two differnt variables from two differnet pxi' s with the same program.
    if your still following.
    i tried a simpler way
    i modified my project to include both ip addresses. 
    this way In my window environment my vi calls the variable. i made sure that i right clicked and chose the variables from the correct ip.
    what i have is two status indicators and two update buttons.
    the status tells me what stage the test is in
    the update button is for the user at the end of the test he can update the screen with the results.
    currently only my second pxi is updating status and also the update works
    this is my windows vi alias file
    [My Computer]
    My Computer=localhost
    [S4000xH-System1]
    S4000xH-System1=192.168.110.10
    [S4000xH-System2]
    S4000xH-System2=192.168.110.3
    do i need to bind to source or use the single writer. im going to try to undo the single writer seems like this would could onluy better it but doesnt seem like its for my application.
     i forgot to mention that the varibles i use  were there listed as dependancies for the windows evirment have a blue question mark  but show what is wrong.  
    where i have the variables under the ip address there are no blue question marks

  • How to reference the class-instance, created in parent class.

    Hi, I have following scenario. During compilation I am gettting error message -- "cannot resolve symbol - symbol : Variable myZ"
    CODE :
    under package A.1;
         ClassZ
         Servlet1
              ClassZ myZ = new ClassZ;
    under package A.2;
         Servlet2 extends Servlet1
              myZ.printHi();
    How to reference the class-instance created in the parent class?

    some corrections ...
    under package A.1;
         ClassZ
         Servlet1
              init()
                   ClassZ myZ = new ClassZ;
    under package A.2;
         Servlet2 extends Servlet1
              myZ.printHi();

  • [svn:bz-4.0.0_fixes] 20651: Some MBean tests needed flex.management. jmx stuff in the allow classes list for the class deserialization validator so adding it in on BlazeDS 4 .0.0_fixes.

    Revision: 20651
    Revision: 20651
    Author:   [email protected]
    Date:     2011-03-07 12:21:11 -0800 (Mon, 07 Mar 2011)
    Log Message:
    Some MBean tests needed flex.management.jmx stuff in the allow classes list for the class deserialization validator so adding it in on BlazeDS 4.0.0_fixes.
    Modified Paths:
        blazeds/branches/4.0.0_fixes/qa/apps/qa-regress/WEB-INF/flex/services-config.mods.validat ors.xml

    Thank you very much!
    I cant believe this little comment has been so helpful!
    But yes it is:
    I explain, despite my efforts to find, googled it, forums, faqs, etc...
    no where it mentionned the manifest.fm file is... INSIDE the .jar!
    Your comment "a zip" made me attempt to open it with winrar, and I found a manifest.fm file inside!
    So far I was editing the one at the "source" of my project and rebuilding it with netbeans.
    I am going to try that now.
    Actually.... :( no its mentionning my main class!
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 10.0-b19 (Sun Microsystems Inc.)
    Main-class: courseworkjava3d.Simple3D
    Class-Path:
    X-COMMENT: Main-Class will be added automatically by buildWell I have no problems uploading you the .jar, it is for a coursework it is not a private project or whatever:
    http://www.uploading.com/files/CM2LKWYU/BetaCourseworkJava3d_Final.jar.html
    Oh and I felt on your comment "dont ask us" as if I was suppose to know... i'm a beginner, I did not know that! And I tried to give you so many infos so you dont lose your time if you want to help, especially as after my own research I found many, many results for this "main class" and I tried a few solutions!
    Edited by: CupofTea on Apr 13, 2008 3:28 AM

  • [svn:bz-trunk] 20650: Some MBean tests needed flex.management. jmx stuff in the allow classes list for the class deserialization validator so adding it in on BlazeDS trunk .

    Revision: 20650
    Revision: 20650
    Author:   [email protected]
    Date:     2011-03-07 12:20:03 -0800 (Mon, 07 Mar 2011)
    Log Message:
    Some MBean tests needed flex.management.jmx stuff in the allow classes list for the class deserialization validator so adding it in on BlazeDS trunk.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/services-config.mods.validators.xml

    Thank you very much!
    I cant believe this little comment has been so helpful!
    But yes it is:
    I explain, despite my efforts to find, googled it, forums, faqs, etc...
    no where it mentionned the manifest.fm file is... INSIDE the .jar!
    Your comment "a zip" made me attempt to open it with winrar, and I found a manifest.fm file inside!
    So far I was editing the one at the "source" of my project and rebuilding it with netbeans.
    I am going to try that now.
    Actually.... :( no its mentionning my main class!
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 10.0-b19 (Sun Microsystems Inc.)
    Main-class: courseworkjava3d.Simple3D
    Class-Path:
    X-COMMENT: Main-Class will be added automatically by buildWell I have no problems uploading you the .jar, it is for a coursework it is not a private project or whatever:
    http://www.uploading.com/files/CM2LKWYU/BetaCourseworkJava3d_Final.jar.html
    Oh and I felt on your comment "dont ask us" as if I was suppose to know... i'm a beginner, I did not know that! And I tried to give you so many infos so you dont lose your time if you want to help, especially as after my own research I found many, many results for this "main class" and I tried a few solutions!
    Edited by: CupofTea on Apr 13, 2008 3:28 AM

  • 10.1.3.2.0 Mac OSX Freezes building class list

    When I launch JDev 10.1.3.2.0 on Mac OSX, the status bar on the bottom of the app says "Building class list for project "ProjectName.jpr" and the animated status bar keeps cycling.
    My CPU is at 100% and the java process is taking most of it.
    If I remove the project from the application and restart JDev, everything is fine. The moment I add the project back into the application tho, it is stuck again.
    This happened when I went to the application properties, and added two more JAR files to the application.
    I have since removed these JAR files from the application, and removed them from the disk where they were... Still does not resolve the problem.
    I have searched the forums, and can see that there was a problem with the preferences in the IDE, and deleting the preferences file fixed the issue - that's not the case for me. I tried to delete the file and restart, but I get the same results.
    Short of reinstalling JDev, I'm not sure what to do...
    Any thoughts?
    Thanks.

    It seems it was my error. After a few hours of debugging, I discovered that I had accidentally added "/" to the JAR Directory path - JDev was trying to search my entire hard drive for JAR files to add. I removed this entry, and all worked again...
    Should the "Add Directory" function not limit itself to the selected directory instead of all sub-directories listed?
    Thanks

  • Can I reference static class vars via a string?

    Hi all,
    I am trying to set the value of some static vars but I need to reference the class with a string rather than a proper constructor. In AS3 I can do this with:
    var ref:Class = getDefinitionByName(classDefinitionAsString) as Class;
    ref[varNameAsString] = newValue;
    I can't find an equivelant approach that will work in AS2 though. I have tried:
    var ref:Object = new [classDefinitionAsString];
    ref[varNameAsString] = newValue;
    This seems to just create an Object and as the vars that I am trying to access are static I don't really want to be using 'new' I just want to reference the vars.
    Is this even possible in AS2 and if so can anyone explain how I might do this?
    Cheers for any help

    I seem to have found a solution that works (for now at least). Not quite sure of the details
    but this does it for me.
    http://dynamicflash.com/2005/03/class-finder/

  • Improvement idea: Easier navigable class list

    I was just wondering if there could be new frame between package list frame and class list frame in javadocs. This new frame would contain all letters. If user would click e.g. letter "I" the class list frame would automatically scroll so that the first class starting with "I" would be the first visible class in class list frame.

    Some time ago I created a Javascript tool to help with this. It's at
    http://www.steveclaflin.com/keyFinder.htm
    I came upon this thread while searching for information about the ordering of the All Classes list, which changed sometime between jdk1.3 and 1.4.2 (it used to be in case-insensitive alpha order, now caps come first). Which broke my tool.
    I'd like to lobby for the default ordering to go back to the old way -- it's not as easy to remember the capitalization of class names as to just think of them in a case-insensitive fashion.

  • Any way to assign value for  variable of type Class List String ?

    I'm puzzled why I can declare a variable:
    Class<List<String>> clazz;but I cannot assign a value to it as
    clazz = List<String>.class;The compiler also complains about
    Class<List<?>> clazz0 = List<?>.class;yet it has the nerve to warn about raw types when I give up and use
    Class<List> clazz0 = List.class;Even using a dummy instance does not work.
            List<String> dummy = new ArrayList<String>();
            Class<List<String>> clazz1 = dummy.getClass();I only care because I've declared a method like
    public String useless( Class<List<String>> unSetable){
      return  unSetable.getName();
    }And now there seems to be no way to call it.

    Hello chymes,
    there is no way to get an instance of Class<List<String>> without at least one unchecked warning. Otherwise you could get away with the following:
    List<Integer> ints = new ArrayList<Integer>();
    Class<List<String>> clazz = List<String>.class;
    List<String> strings = clazz.cast(ints);
    strings.add("No Good");
    int i = ints.get(0); // CCETherefore the only way to get it is via unchecked cast:
    Class<List<String>> clazz = (Class<List<String>>) (Object) List.class;With kind regards
    Ben

  • Reference object structure list iam getting only functional location no

    Dears
    There is one query from our client that in reference object structure list he is getting only functional location no and not functional location description.i asked him to go to menu settings field selection -functional location and from the choose list  ask him to select functional location description .But still he couldn't get the required one. Can any body tell me the reason.

    Hi,
    You can achieve it from OIAJ tcode and set the required setting for your field IFLO-PLTXT.
    Regards,
    Keerthi

  • Self Reference Model Class - How to populate using Entity Framework

    Hi,i have table in SQL Server named Employees as follows:
    EmployeeId lastName FirstName reportsTo
    1 Davolio Nancy 2
    2 Fuller Andrew NULL
    3 Leverling Janet 2
    4 Peacock Margaret 2
    5 Buchanan Steven 2
    6 Suyama Michael 5
    7 King Robert 5
    8 Callahan Laura 2
    9 Dodsworth Anne 5
    I would like to use Entity Framework to populate my Model Class .My model class looks as follows:
    public class Employees
        readonly List<Employees> _children = new List<Employees>();
        public IList<Employees> Children
            get { return _children; }
        public string FirstName { get; set; }
        public string LastName {get; set;}
    I want to use this class in ViewModel  to populate my TreeView control. Can anyone help me in order to define Linq to Entities in order to populate my model class Employees from table in SQL Server as defined. Thanks in advance.
    Almir

    Hello Fred,
    unfortunately it does not work, maybe I can be more specific about what I'm trying to get. I'm following Josh Smith's article on CodeProject related to WFP TreeView
    Josh Smith article. He has Class named Person with the following structure
    public class Person
    readonly List<Person> _children = new List<Person>();
    public List<Person> Children
    get
    return _children;
    public string Name { get; set; }
    The same is populated from Database class using method named GetFamilyTree() which look as follows:
    public static Person GetFamilyTree()
    // In a real app this method would access a database.
    return new Person
    Name = "David Weatherbeam",
    Children =
    new Person
    Name="Alberto Weatherbeam",
    Children=
    new Person
    Name="Zena Hairmonger",
    Children=
    new Person
    Name="Sarah Applifunk",
    new Person
    Name="Jenny van Machoqueen",
    Children=
    new Person
    Name="Nick van Machoqueen",
    new Person
    Name="Matilda Porcupinicus",
    new Person
    Name="Bronco van Machoqueen",
    new Person
    Name="Komrade Winkleford",
    Children=
    new Person
    Name="Maurice Winkleford",
    Children=
    new Person
    Name="Divinity W. Llamafoot",
    new Person
    Name="Komrade Winkleford, Jr.",
    Children=
    new Person
    Name="Saratoga Z. Crankentoe",
    new Person
    Name="Excaliber Winkleford",
    I'm trying to figure out how should I write
    GetFamilyTree() method using Entity Framework in order to connect to my SQL Server database and populate this Person class as it was populated manually in Joshs Example. The table I'm using in SQL Server is described in
    my first post named Employees (it's self reference table)

  • Problem with reference and class

    I would like to transit a Data object in member function of another class with Labview 9.0 reference with "In place element structure". I use the reference for optimize allocation memory.
    When i use a dispatch static : Vi is executable  -> "TestRefAppExt Statique.vi"
    With Dispatch dynamic : Vi is not executable (because Read/Write a reference's data value : class's Object in a reference can't be replaced by another) -> "TestRefAppExt DynamiqueWithoutParent.vi"/"TestRefAppExt DynamiqueWityParent.vi"
    When i use Preserve Run-Time Class function the Vi becomes executable
    but it creates some allocations. Labview creates copy of data object
    when i'm running the vi. (increase size of data you'll see)
    The problem is that i can't recuparate the same object without copy in dispatch dynamic. Because LabView can't change the data object transited in a dispatch dynamic function of another class (child class).
    I compared in project labview Execution's performance with and without Reference in dynamic and static and for compare, with Message Box and a Reference of Data object's cluster.
    Without reference, i made three Vi : "TestAppExt Statique.vi", "TestAppExt DynamiqueWithParent.vi" and  "TestAppExt DynamiqueWithoutParent.vi"
    The static's function works well, but when Labview calls dispacth Dynamic functions, it works more slowly.
    With reference, i made three vi too : "TestRefAppExt Statique.vi", "TestRefAppExt DynamiqueWithParent.vi" and "TestRefAppExt DynamiqueWithoutParent.vi" with cast Preserve Run-Time Class.
    All This functions are more slowly than without reference.
    I tried for fun to test with the same class with Message Box : "TestRefAppExt Fifo.vi" and Cluster "TestRefAppExt DynamiqueCluster.vi" with the dynamic function. The result is better than with reference in dynamic.
    "TestRefAppExt StatiqueRef.vi" and "TestRefAppExt DynamiqueRef.vi" are a solution of this problem but it's better to work with In place element structure. And it doesn't resolve reference performance in execution.
    Why it's not possible to recuperate data object after a dispatch dynamic?
    Why the performance is not good with LabView reference 2009?
     I attached the project.
     Could you help me please
    thank you so much.
    Pascal
    Attachments:
    RefTest.zip ‏476 KB

    Yes, it helps but there is one thing that isn't being replicated which is the possibility to remove the link from the generated editor.
    My EMF looks like:
    @gmf.node(label="uri", figure="ellipse", label.edit.pattern="{0}", label.view.pattern="<<Class>> {0}", label.icon="false")
    class Class extends Resource {
    @gmf.link(target="subClassOf", target.decoration="arrow", label.text="subClassOf", label.readOnly="true")
    ref Class[*] subClassOf;
    And when I do the fix with self.subClassOf.remove(self) the link isn't removed (although now the model now passes the validation). Is there any easy way to do that?
    Regards

Maybe you are looking for

  • How to deduct my Penalty amount in Sales order (Customer Service)

    Hi All, We have a Service contract to bill the customer monthly based on the usage of our Equipment. It has three components. 1. Usage no. of units produced during the month of Billing @ Rs.100 / unit 2. Bonus amount on stoppage hours due to Customer

  • I upgraded my OS from Mountain Lion 10.8.5 straight to Yosemite and now my iMac will turn on but will only go to a gray screen?

    After I installed Yosemite on my iMac, it will not restart. I goes to a gray screen and stops. The cursor moves around but the screen is blank? I went from Mountain Lion 10.8.5 straight to Yosemite, without upgrading to Maverick. Could that be the pr

  • Essbase 11.1.2 and 11.1.1.3 on same Linux server

    Hi all We are planning and upgrade of Planning 11.1.1.3 to 11.1.2.2 and I understand that it is basically a install then migration. We would like to maintain our current linux servers for the next version. Is there a way we can have 2 different versi

  • Add Link in PlaceBar

    Hello, i would like to add a new item to the placebar in Arcobat Reader (the left side in file-open dialog and save-dialog). i know for windows-Explorer or MS_Word you have to add "Places" and "Place0" to the registry. But i can't found some informat

  • Itunes and Quicktime not working

    I just spent $300 on my brand new ipod, only to find out the ONLY program that I can use to put music on it doesn't work. Whenever I click on iTunes, the "I aggree/Disagree" window loads up, then vanishes within one second. Same with quicktime. I dow