Question
How graphics are adding in a drag and drop operation
Hello adepters,
I want to understand how graphics drag and drop support is done in Editor.
If I drag a graphic from the filesystem and put it into my XML session, the (with at least some help from the dcf file, I assume), interprets this as a graphic and then inserts the graphic element with an href to my local file system path of the graphic (from where I dragged it from). This works great.
I want to understand how this works as I have a requirement to drag an object from my proprietary java application and have it work in the same way. I've taken an initial look in some documentation but mostly find information such as how to insert graphics via menu options in Epic. I tried a couple of easy mocks, such as copying the object in Windows and pasting in a valid place in Epic, and also copying the path of the graphic and pasting in a valid location, to no avail. The only thing that works is a straight drag and drop from Windows to Epic. Can anyone point me in the right direction?
Thanks!
Kristian Van Tassell
LMD Tools
Siemens Industry Sector
Siemens Product Lifecycle Management Software Inc.
5939 Rice Creek Parkway
Shoreview, MN 55126 United States
Tel. :+1 (651) 855-6194
Fax :+1 (651) 855-6280
- <-%20>
www.siemens.com/plm
I want to understand how graphics drag and drop support is done in Editor.
If I drag a graphic from the filesystem and put it into my XML session, the (with at least some help from the dcf file, I assume), interprets this as a graphic and then inserts the graphic element with an href to my local file system path of the graphic (from where I dragged it from). This works great.
I want to understand how this works as I have a requirement to drag an object from my proprietary java application and have it work in the same way. I've taken an initial look in some documentation but mostly find information such as how to insert graphics via menu options in Epic. I tried a couple of easy mocks, such as copying the object in Windows and pasting in a valid place in Epic, and also copying the path of the graphic and pasting in a valid location, to no avail. The only thing that works is a straight drag and drop from Windows to Epic. Can anyone point me in the right direction?
Thanks!
Kristian Van Tassell
LMD Tools
Siemens Industry Sector
Siemens Product Lifecycle Management Software Inc.
5939 Rice Creek Parkway
Shoreview, MN 55126 United States
Tel. :+1 (651) 855-6194
Fax :+1 (651) 855-6280
- <-%20>
www.siemens.com/plm

