Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Multiple outline
Multiple outline [message #1412239] Mon, 25 August 2014 16:31 Go to next message
Eclipse GuestFriend
Messages: 93
Registered: February 2013
Location: Vienna
Member
Hello, I have created application using template with one outline, how to add more outline to application?

Thanks
Re: Multiple outline [message #1412259 is a reply to message #1412239] Mon, 25 August 2014 17:33 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1243
Registered: October 2011
Senior Member
Is your question how to add an additional outline using Scout SDK?

Or have you trouble displaying the Outline in your Application? In the second case, what rendering technology (Swing, SWT, RAP) are you using?
Re: Multiple outline [message #1412447 is a reply to message #1412259] Tue, 26 August 2014 07:29 Go to previous messageGo to next message
Flash Man is currently offline Flash ManFriend
Messages: 17
Registered: August 2014
Junior Member
Hi, it is for Swing, using Rayo look. I have one outline, I added one more, but it is not visible in application,so trouble is displaying it in application.
Re: Multiple outline [message #1412452 is a reply to message #1412259] Tue, 26 August 2014 07:45 Go to previous messageGo to next message
Flash Man is currently offline Flash ManFriend
Messages: 17
Registered: August 2014
Junior Member
I have solved it:
IOutline firstOutline = CollectionUtility.firstElement(getAvailableOutlines());

    if (firstOutline != null) {
      setOutline(firstOutline);
    }
Re: Multiple outline [message #1412831 is a reply to message #1412452] Wed, 27 August 2014 07:16 Go to previous messageGo to next message
Barust R. is currently offline Barust R.Friend
Messages: 57
Registered: February 2014
Member
Hi, Flash Man.

When I create an application by the Scout Application Template: Outline Tree and Table Form, by default desktop.java created:

IOutline firstOutline = CollectionUtility.firstElement(getAvailableOutlines());

    if (firstOutline != null) {
      setOutline(firstOutline);
    }

Could you share please how you solved this problem?
Re: Multiple outline [message #1412856 is a reply to message #1412831] Wed, 27 August 2014 08:35 Go to previous messageGo to next message
Barust R. is currently offline Barust R.Friend
Messages: 57
Registered: February 2014
Member
Usually additional outlines I create like this:

Create New Outline from: #Client#Desktop#Outlines#New Outline...
(not from: #Client#All Outlines)

http://i62.tinypic.com/2lbp542.png

if checked (3), will be added (4):

http://i61.tinypic.com/35l964o.png

and as result:

http://i57.tinypic.com/2ijsolf.png
Re: Multiple outline [message #1412863 is a reply to message #1412856] Wed, 27 August 2014 08:47 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1243
Registered: October 2011
Senior Member
@Bakhtiyor:
This is exactly the way to do, thanks for sharing it on the forum with pictures!
Previous Topic:Client - Server timeout?
Next Topic:Tests
Goto Forum:
  


Current Time: Mon Oct 23 02:13:49 GMT 2017

Powered by FUDForum. Page generated in 0.03000 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software