Question about Builder interface

I'm just curious if there's a guide to the different icons in the Navigator pane of Builder? I have two different files, both mx:Modules but one has a blue bar in the icon while the other has a black one....

Got it figured out. I was just copying over modules as starters for 
the next one. But this didn't create the linkage in the Project 
Properties to designate it as a module. Now they are all registered 
and added as applications to the Project Properties and working fine.
thanx

Similar Messages

  • Question about IDashedAttributeValues interface

    Hi to everyone,<br />I have a question about IDashedAttributeValues interface.<br />If I would like to apply custom dashes kDashedAttributeValuesBoss to a page item. I would expect that my code will look like this:<br /><br />InterfacePtr<IDashedAttributeValues> pAttribute(::CreateObject(kDashedAttributeValuesBoss));<br /><br />pAttribute->SetPhase( nPhase );<br />pAttribute->SetCornerAdjustment((IDashedAttributeValues::CornerAdjustment)nCornerAdjust ment);<br />pAttribute->SetValue( 0, nDash0 );<br /><br />But InDesign crashes at SetValue code. I could understand InDesign. It is out of range. But, how to specify the length of value array or to add value into array?<br /><br />Thanks in advance,<br />Alexander Staroverov<br />Developer Engineer<br />Comosoft GmbH

    Thank you to all, I have found the answer in SDK samples:<br /><br />void SnpGraphicHelper::AddDashedValues(const K2Vector<PMReal>& dashAndGapValues)<br />{<br />IDataBase* db = fItemList.GetDataBase();<br />InterfacePtr<IDocument> theDocument(db, db->GetRootUID(), UseDefaultIID());<br />     InterfacePtr<IUIDData> uidData(::CreateObject2<IUIDData>(kDashedAttributeValuesBoss));<br />     ASSERT(uidData != nil);<br />     uidData->Set(::GetUIDRef(theDocument));<br />     InterfacePtr<IDashedAttributeValues> dashedAttributeValues(uidData, UseDefaultIID());<br />     if (dashedAttributeValues != nil && dashAndGapValues.size() > 0) {<br />          for (int32 i = 0; i < dashAndGapValues.size(); i++) {<br />               dashedAttributeValues->SetValue(i, dashAndGapValues[i]);<br />          }<br />          this->AddAnAttribute(dashedAttributeValues);<br />     }<br />}

  • Some questions about building  a plug in

    Hello,
    1.I'm trying to build a plug in ( for EM12c release 2 ) for my standalone java application - which exposes mbeans whom i want to collect some metrics with.
    It's been a while since i started to build it - and I asked quite a lot of quesions about it - because the documnets supplied with the EDK and
    the books ( ProgrammersGuide, ProgrammersReferece and the README file ) are not very clear to me ( I'm a newbie with EM in general .. )
    So far some of the questions got answered and were very halpfull with this long process. BUT, there are some questions that nobody answered yet.
    I'm quite "stuck" with it. I'm talking about the questions in : Re: A question about updating metadata files in plug in
    I have a deadline for this plug in ( which is very close ..) so this the reason I post this new message.
    I will appriciate any help about those questions .
    2. Regarding the above, ( hoping to have an answered soon ..) I'm trying another way to buils this plug in:
    In the README file there is this section( 3.6 : using MPCUI ) . I read the programmersReference ( chapter 8 ) and followed the instructions both in the README file and the ProgrammersReference .
    For a begining, I just wanted to modify a small thing in the example supplied ( Demo Host System ) just to get started with something .
    So i modify the file which contains the label ' Select member ... ' ( i don't remember the name of the file since the project is in my office , and I can't copy/paste ..- I think the the file icontians the name ' ConfirmationTarget .xml - it's one of the pages seen while adding a target ) .
    I i changed it , i build the project ( using FlexBuilder) but did not use ANT as it's says in the README - the eclipse IDE build this file automatically
    ( HostSystem.swf  in bin-debug dir as it says in the README ) . I copied this file to stage_dir/oms/metadata/mpcui .
    i build a new plug in ( i incremented the version of it ) - no errors, everty thing was fine .I also copied this file to the oms server ( it wasn't there before )
    and than run the commad ' emctl register oms ...' as it says in section 3.6 - and o got 'Success' eventually .
    Now, when i opened the EM console , hoping to see tge change i made ( again , it's just a change of the title of the step while adding the target , and adding another menuitem to the 3 item that were alreay there ( CPU, FS, etc ) .
    I believe wad i did is right- i mean changing in the right file and place ( there is no title like like this in any oter source file in the whole project )
    but still, I didn't see any change! it seems execatly as it was befoer the change ..
    Any idea?
    Thanks.

    Regarding your question #2. Please read my response here carefully as it covers a number of different issues.
    1. Ant is not required to build the SWF file in your plug-in. It is an OPTION. Section 8.27 describes the different development options using either Ant or FlexBuilder.
    2. You do NOT need to ever copy a SWF file to any location under the OMS runtime. You need to include it in the stage area and then either build an OPAR or use emctl to incrementally update the deployed plug-in. It has to either be deployed as part of the plug-in deployment or updated incrementally using emctl register oms metadata. Section 8.27.2.6 describes the specific steps to do this incremental update.
    Steps to update the SWF associated with demo_hostsample. These are covered in the README and in chapter 8.
    1. deploy the demo_hostsample plug-in as described in the README
    2. create an instance of the Host Sample target type through manually discovery (Add Targets->Add Non-Host Target Specifying Properties)
    3. using the demo_hostsample.zip project in Flex Builder, modify some part of the code, for example, modify the line containing label="Current Status" to label="My New Label"
    4. rebuild the SWF, to be sure you can to a Clean build of the demo_hostsample project
    5. ensure there is an updated copy of the HostSample.swf under demo_hostsample\mpcui\bin-debug (NOT bin-release, unless you Exported A Release Build)
    6. copy that updated HostSample.swf file to the location on the OMS machine where you unzipped and built the OPAR for the demo_hostsample plug-in
    7. cd to the stage/oms/metadata/mpcui directory and replace the current HostSample.swf with the one you just built (BE SURE ITS THE UPDATED FILE)
    8. execute the command "emctl register oms metadata -sysman_pwd sysman -pluginId oracle.sysman.ohs -service mpcui -file demo_hostsample_uimd_swf.xml (BE SURE TO USE THE CORRECT sysman_pwd)
    At this point you should be able to go to the homepage for the Host Sample target you created and see the changes.

  • Question about message interface

    I developed a jdbc to file scenario, it works, but I'm confused.
    I designed a message interface for jdbc outbound,
    CustomerRow
    |--row
         |--CUST_NO
         |--......
    I set Document Name = 'resultset' in jdbc sender adapter.
    I can see payload in SXMB_MONI.
    <?xml version="1.0" encoding="utf-8" ?>
    - <resultset>
    - <row>
      <CUST_NO>pp3433</CUST_NO>
      <SALES_ORG>org1</SALES_ORG>
      <DISTRIBUTION_CHANNEL>dis1</DISTRIBUTION_CHANNEL>
      <DIVISION>div1</DIVISION>
      <FLAG>N</FLAG>
      <LAST_UPDATE>2008/11/05 15:24:53:843</LAST_UPDATE>
      </row>
    - <row>
      <CUST_NO>ppy3233</CUST_NO>
      <SALES_ORG>org2</SALES_ORG>
      <DISTRIBUTION_CHANNEL>dis2</DISTRIBUTION_CHANNEL>
      <DIVISION>div2</DIVISION>
      <FLAG>N</FLAG>
      <LAST_UPDATE>2008/11/05 15:24:53:843</LAST_UPDATE>
      </row>
      </resultset>
    You noticed that resultset is not 'CustomerRow' in message interface which I defined.
    I don't know how it can work.

    The parameter Document Name should ideallly contain ur Message Type root name. As u have changed it to 'resultset', it is replaced at the sender adapter and then flow continues.
    There are very few occasions when success raises a question
    Regards,
    Prateek

  • My question about second INTERFACE DESIGN

    i create one interface( main interface created by JFRAME)
    in main interface i want to click button
    then create second interface.
    i should use which class to build second interface?
    i tried JFrame but it doesnot work
    JFrame is top cotainer .and it need main() also
    thanks in advance
    please give some hints

    i tried JFrame but it doesnot work - JFrame is top cotainer .and it need main() alsoThat's not true - you can create a JFrame instance without it having its own main() method.
    When the user clicks the button, do this:JFrame secondFrame = new JFrame("Second Frame");
    secondFrame.add(....whatever you need to add to it - JPanels etc...);
    secondFrame.setBounds(100,100,400,300);
    secondFrame.show();

  • Question about Serizable interface

    Which one of the following are true:
    - Serizable interface defines no memebers.
    - Serializable inteface extends the externalizable interface.
    - only an object that implements the serializable interface can be saved and restored by serialization facilities.

    Next time don't wait till Sunday midnight to do homework that has to be submitted Monday morning.
    db
    Hint: You can find the answers to all 3 questions in the API for Serializable
    {color:0000ff}http://java.sun.com/javase/6/docs/api/java/io/Serializable.html{color}

  • Question about inbound interface

    Hi!
    Here, there is an inbound interface using idocs.
    My question is: if there are five idocs ready to be processed, is the function module executed five times? I mean, one time for each idoc or is there a single function module execution that processes the five idocs?
    Thanks!
    Regards,
    Cristian

    hi,  Cristian
    Actually it depend on IDOC inbound setting for your message type.
    in WE20, go to Partner Profiles:Inbound parameters setting.
    you will be request to set Process Code for Inbound.
    if you choose some Process Code, which support Packet Inbound, you IDOC will be executed Packetize.  E.G. once 5 IDOCs.
    And you inbound function also needed to support Packet.

  • One last question about building and formatting

    When I am writing my DLT do I need to remove the .layout file and the Data.lay file? It will already be built but I will be using DVDSP3 to write the DLT. Are they removed automatically? The manual seems ambiguous about this.
    Also I need to output in the DDP2.0 format (Its a DVD-9). I can't select this without choosing build and format. I have been testing by building to my desktop and testing on the Apple DVD player. If I choose build and format will it rebuild the project? And if it rebuilds is it possible for me to get something besides what I have been checking? I just want to make sure I write the same thing to the DLT that I have been checking.

    you can also get ddp by just doing format as opposed to build and format. You can not open a ddp image in dvd player to test it, so there really is no use of building it to your hard drive. If you have already built the project and you have a video ts folder, then you can go under format and choose the dlt drive as your location and make sure you are referencing the folder with the videots in it.
    there wont be anychanges from the video ts after it has been built, it is merely converting it into a ddp image.

  • Question about documentation & interface inheritance

    If I have interface Foo that extends interface Bar, I'm wondering if there's a way for Foo to add more documentation to one of Bar's methods.
    For example, if I have:
    public interface Foo {
      * The "stuff" that gets done by this method should be more properly defined in the implementing class.
      void doStuff();
    public interface Bar extends Foo {
    }Is there any way for me to specify for Bar to override the doc on the doStuff() method inherited from Foo (such that it might read something like "The doStuff() method of all implementers of Bar should [behave in x manner]")?
    I realize I'm probably not articulating myself totally clearly, so let me know if I need to shed light on anything.
    Thanks!
    Edited by: Caryy on Nov 30, 2010 4:06 PM

    jverd wrote:
    I think you're allowed to declare an identical doStuff() method in Bar and give it its own documentation. It won't just get concatenated on to the supertype's doc, but the javadoc tool might generate a link to the parent method like it does when a class overrides or implement a method.Wow... >_< I thought I tried that and failed before asking this question, but it appears that you are correct (I must have typo'd or something)! Thanks for the fast reply and sorry for the n00b question....

  • A question about using INTERFACE?

    I was writing a xml dom application..
    I tried to use some sample code,
    it works fine..
    I import some class for xml parsing..
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    and I open the Node.java and NodeList.java in the dom directory, and see the Node is an public interface
    public interface Node {
    my question is..
    if Node is an interface, why I can use directly the function of Node object in my DOM application code..
    like:
    Node node;
    String val=node.getNodeValue()
    I don't understand that.
    why we can declare an object of Node(which is interface), and use it's function??

    If Node is an interface, why I can use directly
    the function of Node object in my DOM
    application code..
    like:
    Node node;
    String val=node.getNodeValue()
    I don't understand that. why we can declare an
    object of Node(which is interface), and use it's
    function??
    Just like u can use the Connection interface in JDBC to
    create a Statement interface object.
    U can have objects whose reference belongs to an interface type. That way the ppl here at SUN have
    restricted you from running any other methods other
    than those listed in the interface object reference. This
    creates a very strict inheritance heirarchy which is
    impossible to break.
    For example, you cannot possiblly run or create any
    other methods than those listed in the Connection
    interface in JDBC API. This is bcoz although the object
    at runtime might denote an implementation of the
    interface BUT the reference through which u have
    access to it is only a predefined interface.

  • Question about building an app for a single ad hoc distribution

    Say I want to build and app and send the app, along with a provisioning profile, to somebody to install via iTunes for beta testing.
    The "Ad Hoc" panel says the following:
    Ad Hoc distribution allows you to share your application with up to 100 iPhone or iPod touch users, and to distribute your application through email or by posting it to a web site or server. To prepare your application, the following steps will need to be completed.
    Create and Download an iPhone Distribution Certificate
    Create and Download an Ad Hoc Distribution Provisioning Profile
    Build your application with Xcode
    Share your application file and the Ad Hoc Distribution Provisioning Profile with the owner of each device
    Recipients of the application will need to drag the application file and Ad Hoc Distribution Provisioning Profile into iTunes, then sync their iPhone to iTunes to install
    My question is, do I have to build the application in the extremely complicated way described in the "distribution" tab which says "only the team agent" can do? Or is that for a mass distribution?
    Can I build my app like I do for the simulator and just send that along with the provisioning profile to the other person by email?
    What is the absolute easiest way of doing this sort of ad hoc distribution?
    Thanks!
    doug

    Another development device? I don't even have one yet.
    The person I'm developing with has one though.
    It turns out all that needed to be done was:
    (1) Build using the iPhone OS setting instead of the Simulator setting.
    (2) Set the provisioning profile.
    Then using the app and profile, just drop them on top of the apps section in iTune and synch.
    That's all there was too it. I didn't need to use all the 11 steps in the distribution section for just the ad hoc distribution, I'm happy to say!
    doug
    Message was edited by: Doug Lerner2

  • A question about share interface in java card

    I meet a big problem in java card recently.
    I try to develop a loyalty and a purse in the JCOP 20 . I use the share interface to share data between two applets.At first I write two small applets to test the share interface.Then I manully dowon the two applets into the card but it doesn't work. The error always happen to the "getAppletShareableInterfaceObject" method.
    Following is part of the code.
    buffer[0]=(byte)0x06; buffer[1]=(byte)0x05; buffer[2]=(byte)0x04; buffer[3]=(byte)0x03; buffer[4]=(byte)0x02; buffer[5]=(byte)0x01; buffer[6]=(byte)0x01;
    //server applet ID
    AID loyaltyAID2 = JCSystem.lookupAID(buffer, (short) 0,(byte)7);
    if(loyaltyAID2==null) ISOException.throwIt((short)0x0902);
    loyaltySIO = (JavaLoyaltyInterface) JCSystem.getAppletShareableInterfaceObject(loyaltyAID2,(byte)0);
    //...........................................error happen in this line
    I try to find the error I find the error, so I trace to the server applet,I add a "ISOException.throwIt " method in the getShareableInterfaceObject in the server applet.
    I find if I add it,the "getAppletShareableInterfaceObject" will return but get the null object.
    It's correct.But when I remark the "ISOException.throwIt" and just return "this" ,the card will get "6F00".
    Following is my code.
    public Shareable getShareableInterfaceObject(AID clientAID,byte parameter)
    //ISOException.throwIt((short)0x9999);
    return this; } error happen in this line
    TKS...

    Yes I did do it,I modify the sample code of the SUN micro's loality and purse .Following is my source code.
    Client code(purseeasy).......
    //=========================
    package purseeasy;
    import com.sun.javacard.samples.JavaLoyalty.JavaLoyaltyInterface;
    import javacard.framework.*;
    public class purseeasy extends javacard.framework.Applet
    private byte[] echoBytes;
    private static final short LENGTH_ECHO_BYTES = 256;
         public purseeasy()
         echoBytes = new byte[LENGTH_ECHO_BYTES];
    register();
    public static void install(byte[] bArray, short bOffset, byte bLength)
    new purseeasy();
    public void process(APDU apdu)
    byte buffer[] = apdu.getBuffer();
    short bytesRead = apdu.setIncomingAndReceive();
    short echoOffset = (short)0;
    switch(buffer[2])
    case 0x31:
    AID loyaltyAID1 =JCSystem.getAID();
    short i=loyaltyAID1.getBytes(buffer,(short)0);
    if(loyaltyAID1==null)
              ISOException.throwIt((short)0x0901);
    buffer[0]=(byte)0xd1;buffer[1]=(byte)0x58;
         buffer[2]=(byte)0x00;buffer[3]=(byte)0x00;
         buffer[4]=(byte)0x01;buffer[5]=(byte)0x00;
         buffer[6]=(byte)0x00;buffer[7]=(byte)0x00;
         buffer[8]=(byte)0x00;buffer[9]=(byte)0x00;
         buffer[10]=(byte)0x00;buffer[11]=(byte)0x00;
         buffer[12]=(byte)0x00;buffer[13]=(byte)0x00;
         buffer[14]=(byte)0x31;buffer[15]=(byte)0x00;
         AID loyaltyAID2 = JCSystem.lookupAID(buffer,
    (short)0,(byte)16);
    if(loyaltyAID2==null)
         ISOException.throwIt((short)0x0902);
         JavaLoyaltyInterface loyaltySIO =
    (JavaLoyaltyInterface)
         JCSystem.getAppletShareableInterfaceObject(loyaltyAID2,(byte)1);
    if(loyaltySIO ==null)
         ISOException.throwIt((short)0x0903);
    loyaltySIO.grantPoints (buffer);
    break;
    apdu.setOutgoingAndSend((short)0, (short)18);
    //=====================================
    //Server program....share interface
    package com.sun.javacard.samples.JavaLoyalty;
    import javacard.framework.Shareable;
    public interface JavaLoyaltyInterface extends Shareable
    public abstract void grantPoints (byte[] buffer);
    //=============================================
    //Server program....loyalty
    package com.sun.javacard.samples.JavaLoyalty;
    import javacard.framework.*;
    public class JavaLoyalty extends javacard.framework.Applet     implements JavaLoyaltyInterface
    public static void install(byte[] bArray, short bOffset,
    byte bLength)
    {new JavaLoyalty(bArray, bOffset, bLength);
    public JavaLoyalty(byte[] bArray, short bOffset, byte
    bLength)
    register();
    public Shareable getShareableInterfaceObject(AID
    clientAID,byte parameter)
    return (this);
    public void process(APDU apdu)
    byte buffer[] = apdu.getBuffer();
    short bytesRead = apdu.setIncomingAndReceive();
    apdu.setOutgoingAndSend((short)0, (short)18);
    public void grantPoints (byte[] buffer)
         buffer[0]=0x08;
         buffer[1]=0x08;
         buffer[2]=0x08;
         buffer[3]=0x08;
         buffer[4]=0x08;
         buffer[5]=0x08;
         buffer[6]=0x08;
         buffer[7]=0x08;
    Could you tell me what wrong with my code???
    Thanks....

  • Question about photo interface...please help

    hi. i'll explain what i want to do, and hopefully you can help. when exporting a photo album from iphoto to iweb, it creates thumbnails...and then when you double click on one of those thumnails, it brings up a much nicer looking interface with that photo nice and big, and all the others lined up above. Is there anyway i can skip the first set of thumbnails, and only display the second method of display. so when someone clicks on my photo page, they are presented with a nice big photo, and all the others lined up above. thanks...much appreciated, ben

    Add your photos to your website as a flash slideshow using, for example, the FAExporter plugin......
    http://roddymckay.com/VisualMedia/FlashAlbumExporter.html

  • Hi,all i think it seems to be silly question about markable interface

    i know that markable interface doesnt consists any methods.But when we implements those interfaces how they behave to service the class.
    ex.
    public class MyClass implements java.io.Serializable
    MyClass is serializable but the java.io.Serializable doesnt consist any methods how it service to MyClass

    you implement the Serializable interface just to let the API/JVM to know that the instances of the class can be serialized.
    These kind of interfaces are called marker interfaces.
    By the way some time ago there was a good discussion on marker interfaces on this forums. Try searching you might find it.

  • Question about building xml-rpc client in swing

    Hi all,
    I'm going to build swing client for simple xml-rpc server, but I've little experience in swing.
    My application should create kind of XmlRpcClient object. It was no problem in console application, there was one client object and that's all. Now in swing I've no idea how to do it when I have more than one frame. Is it ok to create client object in base frame and then pass its reference to other frames in constructor? Maybe there is another/better way to do this?
    Thanks

    First, Dreamweaver is much more than a glorified FTP client! Dreamweaver is a Web site authoring and management application. That is the program you should use to build your HTML, not Fireworks.
    Fireworks is a Web layout/design and graphics production application. Fireworks can export HTML or HTML and CSS, but that export ability is intended to create mockups and prototypes, not live sites. The code Fireworks creates is...well...awful. You need to learn how to write HTML from scratch, not let a graphics program write it for you.
    The single .png file is also not going to work for you. The page you link to has several separate images. You need to create slices on your Fireworks document and export them as individual images, which you then reference in the HTML.
    Here are a couple of good tutorials for beginners:
    http://www.sitepoint.com/article/html-css-beginners-guide/
    http://net.tutsplus.com/tutorials/html-css-techniques/design-and-code-your-first-website-i n-easy-to-understand-steps/
    This tutorial is on the general theory of slicing. As such, it's helpful: http://www.slicingguide.com/
    In Fireworks, you use the slicing tool (looks like a green rectangle), to draw slices over the areas you want to export as individual images. These green rectangles appear in the Web layer. You can set the export properties of each slice separately. When you export, you can export all your images, or just the images from selected slices. And I really haven't said anything, so start with the help files, then post back with specific qustions.
    As to your 403 error problem, it's something with the configuration of the server, it has nothing to do with Fireworks or Dreamweaver. Read these articles:
    http://www.checkupdown.com/status/E403.html
    http://en.wikipedia.org/wiki/HTTP_403

Maybe you are looking for