Custom File(Eclipse Resource) Types

In FlashBuilder you can create new files of types:
- ActionScript File
- ActionScript Class
- ActionScript Interface
- etc
Is there a way to create a custom file-type, so i can attach a custom template to it?
in example:
- File -> new -> ActionScript Singleton
which shows the default 'new actionscript class' wizard, except that when the file is created it does not use the 'ActionScript Class File Template' but my own 'ActionScript Singleton File Template'
If this is possible, i might also be possible to create custom project types as well?

Hi,
We could not block file types based on size by using FSRM. As a workaround you could use disk quotas on NTFS Volumes which are tracked on a per-user. 
To apply disk quotas to existing volume users, add new quota entries in the Quota Entries window. Please understand that it will take you some time to add all users into the list. 
It will allow administrators to control the amount of data that each user can store on an NTFS file system volume.
For more detailed information about disk quotas on NTFS Volumes, you could refer to the article below:
File Systems
http://technet.microsoft.com/en-us/library/cc938945.aspx
Best Regards,
Mandy 
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • File Download - Resource Type

    Hi All,
                My requirement is to choose a file of a specifc type only say xml . Only xml files should be visible others should not be visible.
    I searched in forums but i didnot get apt solution.
    Please anyone help me to solve this problem.
    Regards,
    Jude.

    Hi,
    Try this solution
    IPrivateUserDataView.IUploadFileInformationElement element = wdContext.currentUploadFileInformationElement();
              if (element.getFileResource() != null)
                   IWDResource resource = element.getFileResource();
                   if (resource.getResourceType().getFileExtension().equals("xls"))
                                //Put your condition here
                        //allowed operations

  • Webstart - Registering a custom file type

    I'm trying to use a jnlp file to register a custom file type (*.flf) with Windows XP / Vista. I have added the following line to the jnlp file near the bottom (right by the main class tag):
    <association extensions="flf" mime-type="application-x/flf" />On some sites I have found this listed as mime type first and extensions second and also with just a > no the end without a />. Neither seems to be working. I also found it listed inside the information section but this didn't work either.
    Am I missing something blindingly obvious? For reference heres the entire jnlp file
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for SimpleExample Application -->
      <jnlp codebase="http://ukpcw032:8080/jclock" href="jFreelancer.jnlp">
        <information>
           <title>CVC Freelancer Time Sheets</title>
           <vendor>CVC</vendor>
           <description>CVC Freelancer Time Sheets - Program to allow freelancers to generate their time sheets for submission.</description>
           <description kind="short">Fee</description>
           <offline-allowed/>
           <icon href="images/overview.png" />
           <icon kind="splash" href="images/splash.jpg" with="365" height="260"/>
           <shortcut>
           <desktop/>
           <menu submenu="CVC"/>
           </shortcut>
         </information>
         <resources>
           <j2se version="1.6"/>
           <jar href="jFreelancer.jar"/>
           <jar href="libs/mysql-connector-java-5.1.6-bin.jar"/>
           <jar href="libs/iText-2.1.3.jar"/>
           <jar href="libs/DateChooser.jar"/>
           <jar href="libs/dsn.jar" />
           <jar href="libs/imap.jar" />
           <jar href="libs/pop3.jar" />
           <jar href="libs/smtp.jar" />
           <jar href="libs/mailapi.jar" />
         </resources>
         <security>
           <all-permissions/>
         </security>
         <association extensions="flf" mime-type="application-x/flf" />
         <application-desc main-class="freelancer.UserLogin"/>
    </jnlp>

    That JNLP file is invalid. Try this variant..
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for SimpleExample Application -->
      <jnlp codebase="http://ukpcw032:8080/jclock" href="jFreelancer.jnlp">
        <information>
           <title>CVC Freelancer Time Sheets</title>
           <vendor>CVC</vendor>
           <description>CVC Freelancer Time Sheets - Program to allow freelancers to generate their time sheets for submission.</description>
           <description kind="short">Fee</description>
           <icon href="images/overview.png" />
           <icon kind="splash" href="images/splash.jpg" width="365" height="260"/>
           <offline-allowed/>
           <shortcut>
           <desktop/>
           <menu submenu="CVC"/>
           </shortcut>
         <association extensions="flf" mime-type="application-x/flf" />
         </information>
         <security>
           <all-permissions/>
         </security>
         <resources>
           <j2se version="1.6"/>
           <jar href="jFreelancer.jar"/>
           <jar href="libs/mysql-connector-java-5.1.6-bin.jar"/>
           <jar href="libs/iText-2.1.3.jar"/>
           <jar href="libs/DateChooser.jar"/>
           <jar href="libs/dsn.jar" />
           <jar href="libs/imap.jar" />
           <jar href="libs/pop3.jar" />
           <jar href="libs/smtp.jar" />
           <jar href="libs/mailapi.jar" />
         </resources>
         <application-desc main-class="freelancer.UserLogin"/>
    </jnlp>I also have a demo of the [FileOpen/SaveService|http://pscode.org/jws/api.html#fs] that you might also test, but I just noticed that launch file is also slightly invalid. I have seen it work on Win XP using Java 1.6 though.
    Edit 1:
    I used YAXV to validate the launch file against an XSD that is based on the DTD distributed by Sun. YAXV is freeware, and I highly recommend* using it to check the JNLP file(s) for any JWS launch that does not work as expected.
    * OK - I wrote it, so I might be biased. ;-)
    Edited by: AndrewThompson64 on Aug 12, 2008 11:05 PM

  • File server resource manager. Block file types based on size

    I have a site where our users appear to be saving some pretty huge TV quality video files (usually .MOV, and usually over 900MB in size) to our file storage server.  The
    concern I have is that such large files are going to fill up our server we will run out of space .
    I don't want to blanket block smaller (less than 30MB) .MOV video files from being saved
    to the drive, so would like to know if there's any feature in the File server resource manager that can block file type based on size.
    If it's not possible, then could someone please suggest this as a future feature of FSRM as I'm sure there are plenty of companies out there who face the same problem as me.
    thanks,
    Mike Geileskey
    Infrastructure manager, PIAS UK Limited 

    Hi,
    We could not block file types based on size by using FSRM. As a workaround you could use disk quotas on NTFS Volumes which are tracked on a per-user. 
    To apply disk quotas to existing volume users, add new quota entries in the Quota Entries window. Please understand that it will take you some time to add all users into the list. 
    It will allow administrators to control the amount of data that each user can store on an NTFS file system volume.
    For more detailed information about disk quotas on NTFS Volumes, you could refer to the article below:
    File Systems
    http://technet.microsoft.com/en-us/library/cc938945.aspx
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SBO Mailer Error - The specified resource type cannot be found in the image file

    Hi Experts,
    I have created an alert in SBO and selected email and internal option for same. I get internal message however email is not getting delivered, I checked the Event Viewer of Windows and below error is shown for SBOMail.
    The description for Event ID 62 from source SBOMail cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Failed to mark records error [-1]
    The specified resource type cannot be found in the image file
    I can send email from sbo for other documents but the alert is not delivering email.
    Please advise.
    Thanks
    Deepak

    Hi Deepak..
    Check with these threads...
    http://scn.sap.com/thread/966957
    http://scn.sap.com/thread/1295818
    SBOMail Application log error
    SBOMail error in event log
    Hope Helpful
    Regards
    Kennedy

  • OAM 10g  - custom resource type issue

    I've created a custom resource type, say, boolean with one operation: TRUE. Then I defined resources of type boolean in my domain: /folder, /folder/1
    and /folder/2. I created a policy that sets TRUE for resources /folder, /folder/*, and the rule is some LDAP query, like      ldap:///<my_suffix>??sub? (|(attr='A')(title='B')). Then when I run policy tester for a user (who I know has attribute I set in the LDAP query) and for example, resource /main/1, OAM tells me: policy name - correct name, rule - undefined, authorization - inconclusive. If anyone played with custom resource types, can you please advise? Why does it say "rule not found"?
    Thanks,
    -Alex

    Hi Alex,
    Doing the equivalent works for me - I suspect that it's a problem more with the resource syntax that the policy is protecting than with custom resource types. In my env I have:
    - Policy Domain protecting resource of type boolean, resource /folder1
    - Policy within the domain protecting url prefix /folder1, url pattern test/.../*, resource type boolean, resource operation TRUE
    - authorisation rule (used in the Authorisation Expression for the policy) ldap:///dc=example,dc=com??sub?(|(uid=bjensen)(givenName=*ba*))
    and the Access Tester shows the rule and expected results when testing url boolean:///folder1/test/whatever
    Are you using the /.../* syntax in your policy?
    Regards,
    Colin

  • Is there a 2GB file size limit on saving a custom format plugin for a custom file type?

    I have resolved issues on reading files > 2GB. Now when I save files >2GB, I get a popup that states there is a 2GB limit for plugins.
    I an using photoshop CS6 on a MAC OSX 10.9 with 16 GB RAM.
    The custom file type is what should be selected when the Save As Dialogue is visible. 
    I looked for a setting in the Photoshop preferences for Files & setting to PSB, but did not see one.
    I tried modifying values in the PiPL for formatmaxSize and PluginMaxSize, but the only values that the code will compile in with:
    32767 & 2147483647.
    I saw a posting in previous years that custom plugins were limited to 2 GB. 

    I would like to rephrase my question, now that I have worked a little more with my code.
    Is there a 2GB limit per channel and 4GB limit for total file size for a custom photoshop format plugin?

  • Opening a custom file type

    Hi
    I have a swing application which while configuring creates a custom file type say .foo . I want my application to be launched taking me.foo as command line argument when i double click me.foo. Can anyone tell me how this can be achieved?
    Thanks in advance. Any code snippet explaining this will be very helpful

    I want my application to be launched taking me.foo as command line argument
    when i double click me.foo. Can anyone tell me how this can be achieved?
    Thanks in advance. Any code snippet explaining this will be very helpfulThis is not really a Java question - what happens when you double click an icon is really up to your operating system/ desktop manager etc.
    On Windows you can set this behaviour by running WindowsExplorer and from the "Tools" menu select "Folder Options...", then look at the "File Types" tab.
    You will see lots of file types sorted by extension. Have a look at how a file type with which you are familiar is set up, and then have a go using the "New" button to create your own type. Once it's created you can associate commands with actions that appear on the menus of WindowsExplorer for that type including a default action that will be carried out when the icon is double clicked.

  • Error: cannot find bundle file or key for resource type

    Hello,
    Please help in finding out the cause & resolving the below errors.
    Logs from the default trace:
    Error Log Message:  cannot find bundle file or key for resource type http://sap.com/xmlns/ciphotocomp, use fallback
    Error Location: com.sapportals.wcm.service.resourceTypeRegistry.ResourceType.getDescription( Locale )
    Thanks & Regards
    Maha,

    << Do not post the same question across a number of forums >>

  • Associate WebDynpro application to Resource type

    Hi experts,
    I have created a WebDynpro application to create/edit XML documents, which are stored in portal KM folders. These documents have a custom Resource Type.
    I didn't use XML Form because it had too many limitations (static forms, only single-valued inputs...).
    These documents are indexed by TREX, and can be retrieved during a search. When a user clicks on a search result, I want the item to be displayed in my webdynpro application (for editing purpose), and not as XML file, or in HTML using XSLT transformation.
    Is this possible ? Do you know a workaround to that ?
    Thanks a lot
    Nicolas

    Dear Mr. Srivastava,
    thank you for the quick and helpful answer
    but my problem isn't solved yet.
    Regards,
    Henrik

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

  • Action hard codes custom file name

    I recorded an action to crop and save for web. I have done this 1000's of times over the years, but in CS6 it is hardcoding a Custom File Name, and in the wrong format too boot.
    I am saving as JPG only and accepting the default name, which should leave me with an action that has no custom name, yet it does, and the custom name is of an HTML file name.
    So, when I run my action, it names every single file the same name, and never creates a jpg.
    This is a new bug in CS6. It wasn't here before.
    I can't figure out how to get around it????
    Kirk

    Figured out a way to work around this, but it is irritating. Instead of my action doing this:
    Flatten
    Crop (user interaction)
    Save For Web
    Close (without saving)
    I have to do this:
    Flatten
    Save as JPG (in same directory where I want the Web file to go)
    Crop (user interaction)
    Save For Web (Over top last saved file)
    Close (without saving)
    For some reason, when I use the save as JPG, it doesn't custom code the file name and when I save for web in the same place it also doesn't custom code the file name.
    I never had to do this before in all the years of using this type of action, and I use it ALOT!
    I have found that it sometimes does not hardcode the file name, but there seems to be no rhyme or reason.
    Kirk
    Photoshop CS6 on Windows7-64, haven't tested this on my MBP

  • Custom file chooser

    Hello,
    I need to design a custom file chooser. Infact, I cannot call it a file
    chooser, because this is not accessing local system files. I am uploading
    some files into a directory using ASP and I keep that file name in the database.
    I can even upload directores and directores with files too into the database.
    I need to display those files and folders in the "what is called as file chooser".
    The List should work as it works in file chooser. i.e when I click on a folder,
    it should show the files inside it. When I click on the file, the file should
    be selected. Infact there is nothing in the file. Its all virtual only. Its only
    the name that is selected.
    I should be given an option to select "directories only" also.
    The "file chooser" should not have show files of type, just the file name
    text field only. The combobox should display "user added" string message. And
    this is only one item in the combobox. I should be able to create folders, show
    lists,etc... as it appears in the file chooser. (buttons beside the combobox)
    Any ideas would be greatly appreciated.
    Thanks

    ok, this is just an example....you'll probably need a different constructor and additional methods....
    public class VirtualFile{
      private String file ;
      private VirtualFile[] children;
      private VirtualFile parent;
      public VirtualFile(String file,VirtualFile parent,VirtualFiles[]children){
         this.file = file;
         this.parent = parent;
         this.children = children;
      public boolean isRoot(){
        return parent == null;
      public boolean isDirectory(){
        return children = null || children.length==0;
      public VirtualFile[] getChildren){
        return children;
    }

  • Custom File Info Panel Multi select options

    Hi,
    I have created a custom file info panel and working on simple properties.
    it does not have options for provisioning a multi select list box. Say for example, I want to select multiple values from the dropdown values.
    How should i do it? Any help is much appreciated.
    Thanks,
    Sriram

    Hi,
    Following is my sample property file. I want to make the property "Line Year" to be multiselect.
    <xmp_definitions>
    </xmp_schema prefix='x' namespace='x....'
                      <xmp_property name='LineYear' category='external' label='Line Year' type='closedchoice' element_type='text'>
                                    <xmp_choice raw_value="2007" label="2007"/>
                                    <xmp_choice raw_value="2008" label="2008"/>
                                    <xmp_choice raw_value="2009" label="2009"/>
                    </xmp_property>
        </xmp_schema>
    </xmp_definitions>

  • Custom File Info Panel CS2- CS4

    I have a Custom File Info Panel that has been created in Adobe Photoshop CS2 and works in CS3.  I am having trouble figuring out how to get it to work in CS4.  Is there a way to port the Custom File Info Panel into CS4 without entirely recreating it?
    I am seeing references to FileInfo SDK and creating a new Flex UI but I can't seem to find a definitive method on this pre-CS4 File Info Panel to the new UI - and I am in unfamiliar territory.
    Any assistance or points in the proper direction would be most helpful.
    UPDATE:  Answering at least some of my own questions, I have followed the procedure here:
    http://blogs.adobe.com/gunar/2008/11/customizing_metadata_ui_in_cs4.html
    I am still having some trouble with a couple of the unique properties but I expect that they will be typos... I hope...
    Any good reference information is still welcome.

    Thank you for suggesting the PS Scripting forum but I think the next stop might be the XMP SDK Forum as there are a few similar questions there such as http://forums.adobe.com/thread/540397.  But before I go impolitely cross-posting...
    I've had some success and it appears that my custom file info metadata edited and saved in CS2 is now visible in CS4 and the reverse is also true - metadata edited and saved in CS4 is visible in CS2.  This was built using the Generic Panel from the SDK according to the instructions shown at the link in my original post.
    The only problem is that the external application that relies on the custom metadata doesn't see the CS4 version of the metadata.  I suspect that this is just some general namespace issue.  Perhaps if an XMP expert would be willing to comment on the conversion of the Custom Info Panel based on the following single portion of the metadata to see if I am doing it correctly - I would very much appreciate it.
    In the CS2 Custom Info Panel XML I have this field:
    <panel title="$$$/CustomPanels/XYZ/PanelName=XYZCorp Graphics MetaData" version="1" type="custom_panel">
      group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top, reverse: rtl_aware)
      static_text(name: '$$$/CustomPanels/XYZ/fullName=Full Name/Title of Graphic', font: font_big_right, vertical: align_center);
      cat_container_edit_text(xmp_ns_prefix: 'xyzcorp', xmp_namespace: 'xyzcorp', xmp_path: 'FullName', container_type: seq_struct, horizontal: align_fill);
      mru_popup(xmp_ns_prefix: 'twcable', xmp_path: 'FullName', no_check: true, vertical: align_top, container_type: seq_struct, mru_append: true);
      <!-- many more fields -->
    </panel>
    In my CS4 properties.xml the corresponding field:
    <xmp_definitions xmlns:ui="http://ns.adobe.com/xmp/fileinfo/ui/">
    <xmp_schema prefix="custom" namespace="xyzcorp" label="$$$/Custom/Schema/Label=XYZCorp Graphics MetaData" description="$$$/Custom/Schema/Description=CS4 Version of XYZCorp MetaData Custom Panel.">
        <!-- simple properties -->
       <xmp_property name="FullName" category="external" label="$$$/Custom/Property/FullName_Label=Full Name/Title of Graphic:" type="seq" element_type="text"/>
    <!-- many other properties -->
    <ui:separator/>
    </xmp_schema>
    </xmp_definitions>
    It seems that the following CS2 => CS4 translations should be true:
    "xmp_namespace" => xmp_schema namespace property (in this case "xyzcorp")
    "xmp_path" => xmp_property name property (for this one property, "FullName")
    is there another translation that I am missing?  I am betting it has something to do with the CS2 "xmp_ns_prefix" but I am not entirely sure how to map this.  Also perhaps something in manifest.xml (though it didn't seem like it)?
    Many thank you's to anyone that can offer words of wisdom.
    j

Maybe you are looking for

  • How to track the transactions

    hi all, we have an application developed in oracle forms 6i and the data base is oracle 9i. please let me know if we have any option to track all the transactions happened at particular time.(what are all the queries get executed when using the appli

  • Enhancement not supported Nokia 6085..Headset prob...

    I just bought a new headset (Nokia Music Headset - HS-20) for my nokia 6085 and it fits in perfectly and everything but after a few seconds a screen pops up and says "Enhancement not supported" Any ideas?

  • Is the ACP-7X charger compatible with the BLC-2 Li...

    The Ni-MH battery (BMC-3) in my trusty 3330 has come to the end of its life. I would prefer the BLC-2 LI-ion battery, but am unsure if it'll be ok to use with the ACP-7X charger. Any ideas? Thanks in advance Pete

  • SAP TV - I do not get to transfer to FI

    Hi, I am having a problem about SAP TV: I do a travel request but I have no Special GL Accounting to the Vendor. I think that is because this status: Status actual - Request entered/ To be Settd                         Trip Completed/ To be Settd. If

  • DAC source system parameters not being generated

    HI all, We are implementing BI apps 7962 with Informatica 861 Hot FX11, OBIEE 101341 on Linux5. We have installed and set up the configuration completely. The Informatica services are created and the DAC was configured with the Source System Paramete