Results 1 to 3 of 3
  1. #1
    gaspard is offline Member
    Join Date
    Mar 2008
    Posts
    7
    Rep Power
    0

    Default Eclipse plugin markers

    Hello,

    I would like to know how I can create my own markers for my plugin and have them displayed on the standard editor's vertical bar.

    Thanks in advance.

  2. #2
    vpin3515 is offline Member
    Join Date
    Mar 2008
    Posts
    7
    Rep Power
    0

    Default

    Do you want the marker in the eclipse editor or the runtime editor?

  3. #3
    gaspard is offline Member
    Join Date
    Mar 2008
    Posts
    7
    Rep Power
    0

    Default

    I want them in the editor. In fact I managed to have them dispayed using the following code.

    Map<String,Object> map = new HashMap<String, Object>();
    MarkerUtilities.setLineNumber(map, lineNumber);
    map.put(IMarker.MESSAGE, "some message");
    MarkerUtilities.createMarker(res, map, MARKER_ID);

    Now I have another problem: in the upper code the text "some text" appears when you place the mouse cursor over the marker(from the editor). I want to know if I can introduce some stylized text (f.e. bold or italic characters) in this text or if I can change the font size. Any hints?

    Thanks

Similar Threads

  1. Eclipse plugin for FindBugs
    By mew in forum Eclipse
    Replies: 0
    Last Post: 01-25-2008, 07:36 PM
  2. Eclipse Plugin Dev
    By eva in forum Eclipse
    Replies: 1
    Last Post: 01-21-2008, 10:56 PM
  3. AnyEdit Plugin For Eclipse Plugin
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 05-18-2007, 12:28 PM
  4. plugin for eclipse
    By sin in forum Eclipse
    Replies: 1
    Last Post: 05-10-2007, 07:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •